-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
autoconf: Use autoconf to write installation directories to config.ma…
…k.autogen This is beginning of patch series introducing installation configuration using autoconf (and no other autotools) to git. The idea is to generate config.mak.autogen using ./configure (generated from configure.ac by running autoconf) from config.mak.in, so one can use autoconf as an _alternative_ to ordinary Makefile, and creating one's own config.mak. Local settings in config.mak override generated settings in config.mak.autogen This patch includes minimal configure.ac and config.mak.in, so one can set installation directories using autoconf generated ./configure script e.g. ./configure --prefix=/usr Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
- Loading branch information
Jakub Narebski
authored and
Junio C Hamano
committed
Jul 3, 2006
1 parent
7b8cf0c
commit 5566771
Showing
5 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# git Makefile configuration, included in main Makefile | ||
# @configure_input@ | ||
|
||
prefix = @prefix@ | ||
exec_prefix = @exec_prefix@ | ||
bindir = @bindir@ | ||
#gitexecdir = @libexecdir@/git-core/ | ||
template_dir = @datadir@/git-core/templates/ | ||
GIT_PYTHON_DIR = @datadir@/git-core/python | ||
|
||
mandir=@mandir@ | ||
|
||
srcdir = @srcdir@ | ||
VPATH = @srcdir@ | ||
|
||
export exec_prefix mandir | ||
export srcdir VPATH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# -*- Autoconf -*- | ||
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ(2.59) | ||
AC_INIT([git], [1.4.1], [git@vger.kernel.org]) | ||
|
||
AC_CONFIG_SRCDIR([git.c]) | ||
|
||
config_file=config.mak.autogen | ||
config_in=config.mak.in | ||
|
||
# Output files | ||
AC_CONFIG_FILES(["${config_file}":"${config_in}"]) | ||
AC_OUTPUT |