Re: [PATCH] autoconf: Use autoconf to write installation directories to config.mak
- From
Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
- Date
- Jun 29, 2006, 07:18 UTC
- Message-ID
- <20060629071813.GB1127@informatik.uni-freiburg.de>
- In-Reply-To
- <200606290301.51657.jnareb@gmail.com>
Jakub Narebski wrote:
Show 9 quoted lines
> This is beginning of patch series introducing installation configuration > using autoconf (and no other autotools) to git. The idea is to generate > config.mak using ./configure (generated from configure.ac) from > config.mak.in, so one can use autoconf as an _alternative_ to ordinary > Makefile, and creating one's own config.mak. > > This patch includes minimal configure.ac and config.mak.in, so one > can set installation directories using ./configure script > e.g. ./configure --prefix=/usr
autoconf does to much things, even with that little configure.ac. (But I agree, it's much better than automake :-)
E.g.
./configure --prefix=$HOME/usr --mandir=$HOME/usr/share/man
is supported by the configure script, but the manpages are installed in $HOME/usr/man all the same.
BTW: Even if I specify mandir=... in config.mak, it is not respected, because only the toplevel Makefile includes config.mak. (I didn't test it, but I think I could export mandir in config.mak ...)
Best regards Uwe
-- Uwe Zeisberger http://www.google.com/search?q=1+hertz+in+sec**-1