aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--config.def.h (renamed from config.h)0
2 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
diff --git a/config.h b/config.def.h
index 006a622..006a622 100644
--- a/config.h
+++ b/config.def.h