JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
changed the files included in make dist
[dwm.git] / Makefile
index 817c2e1..5d06e74 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,8 @@ options:
 ${OBJ}: dwm.h config.h
 
 config.h:
-       cp config.default.h config.h
+       @echo missing config.h created
+       @cp config.default.h $@
 
 dwm: ${OBJ}
        @echo LD $@
@@ -35,7 +36,8 @@ clean:
 
 dist: clean
        mkdir -p dwm-${VERSION}
-       cp -R Makefile README LICENSE config.mk *.h *.c ${MAN1} dwm-${VERSION}
+       cp -R Makefile README LICENSE config.mk dwm.h config.*.h \
+               *.c ${MAN1} dwm-${VERSION}
        tar -cf dwm-${VERSION}.tar dwm-${VERSION}
        gzip dwm-${VERSION}.tar
        rm -rf dwm-${VERSION}
@@ -61,3 +63,5 @@ uninstall:
        for i in ${MAN1}; do \
                rm -f ${DESTDIR}${MANPREFIX}/man1/`basename $$i`; \
        done
+
+.PHONY: all options clean dist install uninstall