Re: [dwm] dwm-0.6

From: Sander van Dijk <>
Date: Thu, 3 Aug 2006 15:31:31 +0200

On 8/3/06, Jukka Salmi <> wrote:
> Uh, I forgot about this. Thanks. Maybe config.h should be removed from
> the clean target.

I just realized that there's another problem with the current
approach: if config.default.h is newer than your custom config.h
(which is possible after pull & update), your config.h will be
overwritten. This can be solved by not making config.h explicitly
depend on ${CONFIG} though, like this:

    @echo creating $@ from ${CONFIG}
    @cp ${CONFIG} $@

instead of the current

config.h: ${CONFIG}
    @echo creating $@ from ${CONFIG}
    @cp ${CONFIG} $@

I'm starting to feel that this is all becoming a bit ugly however;
maybe the cleanest way is after all to revert to the pre-0.6 situation
(rename config.default.h back to just plain config.h, keep the CONFIG
variable in, and just use 'make CONFIG=blabla')...

Gr. Sander.
Received on Thu Aug 03 2006 - 15:31:33 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:29:52 UTC