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

Derek Atkins warlord at MIT.EDU
Mon Nov 21 11:27:13 EST 2011


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!

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list