summaryrefslogtreecommitdiff
path: root/config.mak.in
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-02-02 17:58:49 -0800
committerJunio C Hamano <gitster@pobox.com>2013-02-03 16:31:01 -0800
commitd8cf908cb6012cd4dc3d1089a849daf646150c2e (patch)
treeb451a44b5ec9621274a6dfa14dd7cfc5e7daa2c8 /config.mak.in
parent7e2010537e96d0a1144520222f20ba1dc3d61441 (diff)
downloadgit-d8cf908cb6012cd4dc3d1089a849daf646150c2e.tar.gz
config.mak.in: remove unused definitions
When 5566771 (autoconf: Use autoconf to write installation directories to config.mak.autogen, 2006-07-03) introduced support for autoconf generated config.mak file, it added an "export" for a few common makefile variables, in addition to definitions of srcdir and VPATH. The "export" logically does not belong there. The make variables like mandir, prefix, etc, should be exported to submakes for people who use config.mak and people who use config.mak.autogen the same way; if we want to get these exported, that should be in the main Makefile. We do use mandir and htmldir in Documentation/Makefile, so let's add export for them in the main Makefile instead. We may eventually want to support VPATH, and srcdir may turn out to be useful for that purpose, but right now nobody uses it, so it is useless to define them in this file. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.in')
-rw-r--r--config.mak.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/config.mak.in b/config.mak.in
index 802d34223a..947ca5776a 100644
--- a/config.mak.in
+++ b/config.mak.in
@@ -13,7 +13,6 @@ DIFF = @DIFF@
TCLTK_PATH = @TCLTK_PATH@
prefix = @prefix@
-exec_prefix = @exec_prefix@
bindir = @bindir@
gitexecdir = @libexecdir@/git-core
datarootdir = @datarootdir@
@@ -22,12 +21,6 @@ sysconfdir = @sysconfdir@
mandir=@mandir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-export exec_prefix mandir
-export srcdir VPATH
-
NEEDS_SSL_WITH_CRYPTO=@NEEDS_SSL_WITH_CRYPTO@
NO_OPENSSL=@NO_OPENSSL@
NO_CURL=@NO_CURL@