summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2014-12-22 11:16:26 +0100
committerAnselm R Garbe <garbeam@gmail.com>2014-12-22 11:16:26 +0100
commit44ce161c139f74cac80dd77aafdfadb49a85af2a (patch)
tree93c1b5689ae012a48a3ebfcb7ea70fd683a84161 /Makefile
parent4339b507af01421e2deab63ca9ac3c5bdae5f4cc (diff)
applied sin's patch and prepared new release
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
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}