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

Nicolas Valcarcel nvalcarcel at ubuntu.com
Tue Jul 1 20:36:45 UTC 2008


it should maybe change it from removing build to removing everything
in build but not aux, or "mv aux/ ../.", which IMHO is the best
solution.

On Tue, Jul 1, 2008 at 2:27 PM, David Lutterkort <dlutter at redhat.com> wrote:
> 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
>
>
> _______________________________________________
> augeas-devel mailing list
> augeas-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/augeas-devel
>




More information about the augeas-devel mailing list