Re: robustifying remove_distdir?

2006-06-30 Thread David Fang
In reply to myself: > Is there a way of making the "rm -rf" more robust? Maybe with some sort > of "while distdir exists, try removing" loop? So far this works for me: In automake-1.9/am/distdir.am: --->8 patch snip 8<- am__remove_distdir = \ { test ! -d $(distdir) \ || { f

robustifying remove_distdir?

2006-06-30 Thread David Fang
Hi, I'm have a strange problem with automake-1.9.5, where "make dist" is dying at the very end on $(am__remove_distdir) because the "rm -rf" fails. { test ! -d myproj || { find myproj -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr myproj; }; } rm: cannot remove directory `myproj/te

Re: Non-recursive makefiles

2006-06-30 Thread Christopher S Morrison
Apologies on the delayed reply, but I felt like taking the bait.. I respectfully and fully disagree that running make in a subdirectory is admission of anything other than a need to clean some a subset of a given project in a convenient manner. The reason someone might want to do a make clean