renamed config.h into config.def.h, config.h will be created if not present, this...
authorAnselm R. Garbe <garbeam@gmail.com>
Sun, 23 Sep 2007 09:24:12 +0000 (11:24 +0200)
committerAnselm R. Garbe <garbeam@gmail.com>
Sun, 23 Sep 2007 09:24:12 +0000 (11:24 +0200)
Makefile
config.def.h [moved from config.h with 100% similarity]

index 2d61830..dee43ed 100644 (file)
--- 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
similarity index 100%
rename from config.h
rename to config.def.h