[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
install-sh is used instead of install when installing nobase_pkginclude_
From: |
Marcel Loose |
Subject: |
install-sh is used instead of install when installing nobase_pkginclude_HEADERS |
Date: |
Mon, 10 Oct 2005 12:24:00 +0200 |
Hi,
A couple of weeks ago I reported this bug in GNATS, but I haven't had any
feedback from GNATS other than the number under which the bug was filed (#475).
Hence, I thought I would also use the mailing lists to report the bug.
Regards,
Marcel Loose.
==============
Here's the description:
I was suprised to discover that automake chooses ./install-sh, instead of
/usr/bin/install when installing header files specified as
nobase_pkginclude_HEADERS.
You can try it yourself. Untar the file automake-bug.tar.gz; cd to automake-bug
and type:
$ ./bootstrap && ./configure --prefix=$PWD/installed && make install
Note that ./install-sh is used to install the header files.
Next, edit the file src/Makefile and remove `nobase_' in the line
`nobase_pkginclude_HEADERS = a.h sub/b.h'. You will notice that now
/usr/bin/install is used to install the header files when doing a `make
install'.
Re-add `nobase_' and try again; you will see that
./install-sh is used.
You can also take a look at the two log files I generated: with-nobase.log and
without-nobase.log.
I could reproduce this "bug" with automake version 1.9.5 and version 1.6.3.
automake-bug.tar.gz
Description: GNU Zip compressed data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- install-sh is used instead of install when installing nobase_pkginclude_HEADERS,
Marcel Loose <=