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> writes:

> Several subdirectories have a subdirectory "gnucash", which clean
> tried to remove by including in the CLEANFILES variable in
> 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 Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list