Re: make dist fails

2009-05-06 Thread Ralf Wildenhues
Hello Kai,

* Kai Sterker wrote on Wed, May 06, 2009 at 12:02:07AM CEST:
 I have a strange problem with the 'make dist' target. I've been using
 automake 1.10.1 and autoconf 2.62. Updating to 1.10.2 and 2.63 showed
 exactly the same behavior.

Which libltdl version is the one you're using, and which Automake
version was its libltdl/Makefile.in created with?
Can you post your toplevel Makefile.am?
Can you also post the output of
  make dist SHELL=/bin/sh -x

with all generated files unchanged?

Thanks,
Ralf




Re: make dist fails

2009-05-06 Thread Ralf Wildenhues
Hello Kai,

* Kai Sterker wrote on Wed, May 06, 2009 at 10:46:29AM CEST:
 On Wed, May 6, 2009 at 9:05 AM, Ralf Wildenhues wrote:
  Can you post your toplevel Makefile.am?
  Can you also post the output of
   make dist SHELL=/bin/sh -x
 
  with all generated files unchanged?
 
 Did configure in a fresh directory, then ran
 
 make dist SHELL=/bin/sh -x  make-dist.log
 
 See attached files.

The shell trace shows that this command is called
  ../adonthell/./install-sh -c -d adonthell-0.4.0-alpha-3/config 
adonthell-0.4.0-alpha-3/scripts

It should create the two directories
  adonthell-0.4.0-alpha-3/config
  adonthell-0.4.0-alpha-3/scripts

but apparently it fails to create the second directory.  Unless you have
an install-sh script with a scriptversion older than 2004-01-08.23, this
should work as expected.  If your script is older, then upgrade it using
'automake --add-missing --force-missing' and ensure that 'make dist'
works for you now; otherwise, i.e., if your install-sh script is newer
but things still fail, please post the output of

  rm -rf adonthell-0.4.0-alpha-3/config adonthell-0.4.0-alpha-3/scripts
  /bin/sh -x ../adonthell/./install-sh -c -d \
adonthell-0.4.0-alpha-3/config adonthell-0.4.0-alpha-3/scripts

when executed in the top build directory.

Thanks,
Ralf




Re: make dist fails

2009-05-06 Thread Kai Sterker
On Wed, May 6, 2009 at 10:38 PM, Ralf Wildenhues ralf.wildenh...@gmx.de wrote:

 The shell trace shows that this command is called
  ../adonthell/./install-sh -c -d adonthell-0.4.0-alpha-3/config 
 adonthell-0.4.0-alpha-3/scripts

 It should create the two directories
  adonthell-0.4.0-alpha-3/config
  adonthell-0.4.0-alpha-3/scripts

 but apparently it fails to create the second directory.  Unless you have
 an install-sh script with a scriptversion older than 2004-01-08.23, this
 should work as expected.

Tenebrae:~/adonthell/adonthell kai$ ls -la install-sh
-rwxr-xr-x   1 kai  staff  7122 Jul 21  2003 install-sh

 If your script is older, then upgrade it using
 'automake --add-missing --force-missing' and ensure that 'make dist'
 works for you now;

It does :-).

Thanks a lot for your help ... would never have found that myself!

Kai




make dist fails for directories with spaces in their name

2008-01-20 Thread Paul Brannan
I'm using automake 1.10 on cygwin where my home directory is /home/Paul 
Brannan.  I have a project located in my home directory which uses 
automake.


I can build and install the project, however make dist fails, because 
it does not create the dist directory correctly.


Two changes are necessary to fix the problem:

- $distdir must be quoted whenever it is used
- The $(MKDIR_P) line in the distdir rule that creates the dist 
directory must be quoted as well.


I have worked around this bug by post-processing all my Makefile.in 
files after invoking automake.