----- Forwarded message from [EMAIL PROTECTED] -----

Date: Sat, 11 Nov 2006 11:52:32 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Auto-discard notification

The attached message has been automatically discarded.
Date: Sat, 11 Nov 2006 10:52:31 +0000
From: Salva Peiró <[EMAIL PROTECTED]>
To: [email protected]
Subject: a small improvement

Hi,
this is a silly thing, but i thought it was worth mentioning:

diff -r a22a70174d44 Makefile
--- a/Makefile  Wed Nov  8 16:16:38 2006
+++ b/Makefile  Sat Nov 11 11:30:06 2006
@@ -21,9 +21,9 @@

${OBJ}: dwm.h config.h config.mk

-config.h:
-       @echo creating $@ from config.default.h
-       @cp config.default.h $@
+config.h: config.gmt.h
+       @echo creating $@ from $<
+       @cp $< $@

dwm: ${OBJ}
       @echo LD $@

I would do the creation of the config.h header this way, because
i usually store my config in a separate (config.gmt.h) file, and when
a change is done on default config.h's provided i take a look at them
and merge changes on my own config, this way just after having modified
the config.gmt.h issuing  `make' updates config.h and builds an up to date 
dwm.
Regards,

PS: I'm not suscribed to the list, currently i read the archives.
-- 
gualteri (at) rootshell.be/~gualteri



----- End forwarded message -----

-- 
 Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361

Reply via email to