fix dist target in Makefile

This commit is contained in:
Julien Danjou 2007-09-17 14:13:53 +02:00
parent d967edfec9
commit ca17b9349f
1 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# awesome
# © 2007 Julien Danjou
# © 2007 Julien Danjou <julien@danjou.info>
include config.mk
@ -32,11 +32,13 @@ clean:
dist: clean
@echo creating dist tarball
@mkdir -p awesome-${VERSION}
@cp -R LICENSE Makefile README config.*.h config.mk \
awesome.1 awesome.h grid.h tile.h mem.h ${SRC} ${LAYOUTS} awesome-${VERSION}
@mkdir awesome-${VERSION}
@mkdir awesome-${VERSION}/layouts
@cp -R LICENSE AUTHORS Makefile README config.mk \
awesome.1 ${SRC} ${SRC:.c=.h} awesome-${VERSION}
@cp -R ${LAYOUTS} ${LAYOUTS:.c=.h} awesome-${VERSION}/layouts
@tar -cf awesome-${VERSION}.tar awesome-${VERSION}
@gzip awesome-${VERSION}.tar
@gzip -9 awesome-${VERSION}.tar
@rm -rf awesome-${VERSION}
install: all