From 44ce161c139f74cac80dd77aafdfadb49a85af2a Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Mon, 22 Dec 2014 11:16:26 +0100 Subject: applied sin's patch and prepared new release --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2bea555..1017ac2 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,11 @@ options: @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: config.mk +${OBJ}: config.h config.mk + +config.h: + @echo creating $@ from config.def.h + @cp config.def.h $@ slock: ${OBJ} @echo CC -o $@ @@ -31,7 +35,7 @@ clean: dist: clean @echo creating dist tarball @mkdir -p slock-${VERSION} - @cp -R LICENSE Makefile README config.mk ${SRC} slock-${VERSION} + @cp -R LICENSE Makefile README config.def.h config.mk ${SRC} slock-${VERSION} @tar -cf slock-${VERSION}.tar slock-${VERSION} @gzip slock-${VERSION}.tar @rm -rf slock-${VERSION} -- cgit v1.2.3-70-g09d2