[augeas-devel] [PATCH] distclean-local: Do not clobber build/aux

David Lutterkort dlutter at redhat.com
Tue Jul 1 19:27:19 UTC 2008


On Tue, 2008-07-01 at 21:19 +0200, Jim Meyering wrote:
> Recommended practice for "clean"-style rules is to remove only those
> files that other rules may create.  Then if a user leaves a
> differently-named file in a build directory, there's no chance
> that a "make *clean" rule will destroy his misplaced file.
> 
> Also, find's -maxdepth and -not predicates are not portable.

Ugh .. I probably should move build/aux out of build/ then since
everything else in there are random files generated by tests etc. The
idea is that build/ is completely ephemeral data, which I of course
broke by putting build/aux/ in there.

David





More information about the augeas-devel mailing list