This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Installing only updated headers
- To: Alex Hornby <alex at anvil dot co dot uk>
- Subject: Re: Installing only updated headers
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- Date: 25 Oct 2001 12:52:27 +0200
- Cc: Simon Perkins <s dot perkins at lanl dot gov>, automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- Organization: LRDE/EPITA http://www.lrde.epita.fr/
- References: <3BD74B28.CFAA8F49@lanl.gov><mvbsnc8oxeb.fsf@phobos.lrde.epita.fr> <1004005256.10003.23.camel@air>
>>> "Alex" == Alex Hornby <alex@anvil.co.uk> writes:
[...]
Alex> case $target in
Alex> *linux*)
Alex> INSTALL="/usr/bin/install -C"
Alex> ;;
Alex> esac
Alex> Obviously a proper feature test would be better, but it works for me :)
Indeed:
% uname
Linux
% install -C
install: invalid option -- C
Try `install --help' for more information.
% install --version | head -1
install (fileutils) 4.1
Alex> Perhaps $target should be something like $build_host if I was going to
Alex> cross compile.
Yes, you want $build.
BTW $target is the platform your program should output code for,
not the platform your program should run on (this is $host).
Actually, many packages mistakenly use $target instead of $host.
(I beleive this is because the Autoconf manual shows only a
'case $target' example.)
--
Alexandre Duret-Lutz