Hi,

Currently 'make clean' never removes config.h. In case of a custom
config.h this is of course desired behaviour. But when config.h is
copied from config.default.h it can be safely removed. Attached one-line
patch does this.

Regards,
-- 
Jeroen Schot

[EMAIL PROTECTED] (mail & jabber)
http://schot.a-eskwadraat.nl
diff -r 33e5eecb3311 Makefile
--- a/Makefile  Tue Jul 31 18:22:13 2007 +0200
+++ b/Makefile  Wed Aug 01 12:43:39 2007 +0200
@@ -31,6 +31,7 @@ clean:
 clean:
        @echo cleaning
        @rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz
+       @if cmp -s config.h config.default.h; then rm -f config.h; fi
 
 dist: clean
        @echo creating dist tarball

Reply via email to