aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-23 11:24:12 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-23 11:24:12 +0200
commit17d39ee01458025a5b9f5087168f258933f0ccd9 (patch)
tree1585c6196ea8b31e7f41714f70c3003eb52b57e4 /Makefile
parent8d1810c85befb0e7ec406e64c07825b7d24c66fc (diff)
renamed config.h into config.def.h, config.h will be created if not present, this seems less annoying after all
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2d61830..dee43ed 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,10 @@ options:
${OBJ}: config.h config.mk
+config.h:
+ echo creating $@ from config.def.h
+ cp config.def.h $@
+
dwm: ${OBJ}
@echo CC -o $@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
@@ -31,7 +35,7 @@ clean:
dist: clean
@echo creating dist tarball
@mkdir -p dwm-${VERSION}
- @cp -R LICENSE Makefile README config.h config.mk \
+ @cp -R LICENSE Makefile README config.def.h config.mk \
dwm.1 ${SRC} dwm-${VERSION}
@tar -cf dwm-${VERSION}.tar dwm-${VERSION}
@gzip dwm-${VERSION}.tar