Jukka Salmi --> dwm (2006-08-02 20:14:57 +0200):
> Anselm R. Garbe --> dwm (2006-08-02 17:50:31 +0200):
> > On 8/2/06, Sander van Dijk <a.h.vandijk_AT_gmail.com> wrote:
> > > Maybe this is a better idea: make the dwm target in the Makefile
> > > dependent on config.h, and add a rule something like this to the
> > > Makefile:
> > >
> > > config.h:
> > > cp config.default.h config.h
> > >
> > > That would make a plain make clean install work, as well as keep your
> > > intentions behind the rename to config.default.h intact.
> >
> > That is totally true, already pushed (will be included in
> > dwm-0.7)...
>
> What about the attached patch? It would let make(1) take care of
> regenerating config.h as needed.
...and consequently delete config.h from the clean target.
-- bashian roulette: $ ((RANDOM%6)) || rm -rf ~
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:29:51 UTC