Re: race condition gnulib-tool's mostlyclean-local rule

2006-08-04 Thread Ralf Wildenhues
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; \

Re: [bug-gnulib] race condition gnulib-tool's mostlyclean-local rule

2006-08-04 Thread Bruno Haible
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

race condition gnulib-tool's mostlyclean-local rule

2006-08-04 Thread Jim Meyering
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

Re: race condition gnulib-tool's mostlyclean-local rule

2006-08-04 Thread Jim Meyering
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