Hello Jim,
* Jim Meyering wrote on Fri, Aug 04, 2006 at 04:35:30PM CEST:
mostlyclean-local:
@test -z $(MOSTLYCLEANDIRS) ||\
for dir in $(MOSTLYCLEANDIRS); do \
if test -d $$dir; then \
echo rmdir $$dir; rmdir $$dir; \
Ralf Wildenhues wrote:
the right fix would be to add dependency information
mostlyclean-local: mostlyclean-compile mostlyclean-generic
Depending on mostlyclean-compile is not needed, and this rule removes
only files in the current directory. I added this fix to gnulib-tool:
2006-08-04
For some modules (e.g., sys_stat), gnulib-tool generates
a mostlyclean-local rule like this:
mostlyclean-local:
@test -z $(MOSTLYCLEANDIRS) ||\
for dir in $(MOSTLYCLEANDIRS); do \
if test -d $$dir; then \
echo rmdir $$dir; rmdir
Ralf Wildenhues [EMAIL PROTECTED] wrote:
...
IMVHO it's ugly (and resource-wasting) to have a $(MAKE) reinvocation
to paper over limitations in the extensibility of Automake-generated
Makefiles; the right fix would be to add dependency information
mostlyclean-local: mostlyclean-compile