update dist and clean target to support awesome-client

This commit is contained in:
Julien Danjou 2007-10-27 18:50:00 +02:00
parent 7e755c17ea
commit fe7f17a8d8
1 changed files with 4 additions and 3 deletions

View File

@ -36,15 +36,16 @@ awesome: ${OBJ}
clean:
@echo cleaning
@rm -f awesome ${OBJ} awesome-${VERSION}.tar.gz
@rm -f awesome awesome-client ${OBJCLIENT} ${OBJ} awesome-${VERSION}.tar.gz
@rm -rf doc
dist: clean
@echo creating dist tarball
@mkdir awesome-${VERSION}
@mkdir awesome-${VERSION}/layouts
@cp -R LICENSE AUTHORS Makefile README awesomerc config.mk \
awesome.1 ${SRC} ${SRC:.c=.h} common.h awesome-${VERSION}
@cp -R STYLE LICENSE AUTHORS Makefile README awesomerc config.mk \
awesome.1 ${SRCCLIENT} ${SRCCLIENT:.c=.h} ${SRC} ${SRC:.c=.h} \
common.h awesome-${VERSION}
@cp -R ${LAYOUTS} ${LAYOUTS:.c=.h} awesome-${VERSION}/layouts
@tar -cf awesome-${VERSION}.tar awesome-${VERSION}
@gzip -9 awesome-${VERSION}.tar