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

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"; rm

Re: need to install (but not build or distribute) something to the bin directory...

2006-08-04 Thread Harlan Stenn
> > bin_DATA = libnetcdf.def > > > > Or you can use nodist_bin_DATA, if it makes it more readable for you. > > (*_DATA are not distributed by default.) > > Neither works, because automake disallows it: > | Makefile.am:1: `bindir' is not a legitimate directory for `DATA' That's easy - use somethi

Re: need to install (but not build or distribute) something to the bin directory...

2006-08-04 Thread Ralf Wildenhues
Hello Stepan, Ed, * Stepan Kasal wrote on Fri, Aug 04, 2006 at 04:25:02PM CEST: > On Wed, Aug 02, 2006 at 07:30:47PM -0600, Ed Hartnett wrote: > > [...] gcc to produce an extra output file, called libnetcdf.def. > ... > > So how do I tell automake that there is a file I would like installed, > > b

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 Bru

Re: Dependency of Makefile.in on Makefile.am is not aware

2006-08-04 Thread Ralf Wildenhues
Hello Tzu-Chien, * Tzu-Chien Chiu wrote on Fri, Jul 28, 2006 at 07:49:38AM CEST: > > I have a strange problem on cygwin. The Makefile generated by > 'configure' doesn't detect the change of corresponding Makefile.am. > I have to manually remove the corresponding Makefile.in to force it to > be re

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: Disable implicit RCS rule of GNU Make

2006-08-04 Thread Alexandre Duret-Lutz
>>> "RH" == Robert Homann <[EMAIL PROTECTED]> writes: RH> Hello list! RH> We have a problem here with GNU Make's built-in rules that I can't seem to RH> be able to solve. Short version of my question: How can the implicit rule RH> for RCS defined in GNU Make be disabled in a portable way (Auto

Re: need to install (but not build or distribute) something to the bin directory...

2006-08-04 Thread Stepan Kasal
Hello, On Wed, Aug 02, 2006 at 07:30:47PM -0600, Ed Hartnett wrote: > [...] gcc to produce an extra output file, called libnetcdf.def. ... > So how do I tell automake that there is a file I would like installed, > but not specially built nor included in the distribution? > > I'm sure there is som