fix dist target in Makefile
This commit is contained in:
parent
d967edfec9
commit
ca17b9349f
12
Makefile
12
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue