AUDIT: r21570 - gnucash/trunk - Fix clean targets and DIST_SOURCES

Derek Atkins derek at ihtfp.com
Mon Nov 21 11:30:34 EST 2011


On Mon, November 21, 2011 11:27 am, Derek Atkins wrote:
> John Ralls <jralls at code.gnucash.org> writes:
>
>> Several subdirectories have a subdirectory "gnucash", which clean
>> tried to remove by including in the CLEANFILES variable in
>> Makefile.am. This doesn't work, because directories can't be removed
>> with rm, they require rm -r. Add a clean-local: target which calls rm
>> -r on the gnucash subdirectory.
>
> BE VERY CAREFUL with this.  On SOME platforms (ie linux) the gnucash
> "subdirectory" is just a symlink to '.' -- so run -r will potentially
> recursively remove the current directory!

Nevermind.  It *USED* to be this way, but I just looked at the Makefile in
question and saw that it does indeed use mkdir always.  Sorry for the
false alarm.

-derek

-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-devel mailing list