From: Jonathan Nieder <jrnieder@gmail.com>
To: Ben Walton <bwalton@artsci.utoronto.ca>
Cc: gitster@pobox.com, git@vger.kernel.org
Subject: Re: [PATCH 0/2] Set Makefile variables from configure
Date: Tue, 3 Nov 2009 16:21:23 -0600 [thread overview]
Message-ID: <20091103222123.GA17097@progeny.tock> (raw)
In-Reply-To: <1257021695-21260-1-git-send-email-bwalton@artsci.utoronto.ca>
Ben Walton wrote:
> These patches add support for setting the newly created DEFAULT_EDITOR
> and DEFAULT_PAGER from the configure script. I also tacked in
> ETC_GITCONFIG, since I can't currently toggle this without setting a
> command line value when building, but have need to alter it.
Would the --sysconfdir option work for you here? Setting --sysconfdir
currently does nothing, so the question is kind of moot without some
change like this (untested):
Hook up more of ./configure’s installation directory options to
actually do something. Unfortunately, this defeats the RUNTIME_PREFIX
facility unless all the relevant paths are explicitly set. Probably
the defaults set in Makefile should not be overridden unless
explicitly requested.
This patch also changes the default location for HTML documentation
after running ./configure from /usr/local/share/git-doc to
/usr/local/share/git. In my opinion, the fix to this would also be to
make the configure script not override defaults from Makefile.
config.mak.in | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/config.mak.in b/config.mak.in
index 67b12f7..430134a 100644
--- a/config.mak.in
+++ b/config.mak.in
@@ -11,17 +11,21 @@ TAR = @TAR@
TCLTK_PATH = @TCLTK_PATH@
prefix = @prefix@
-exec_prefix = @exec_prefix@
bindir = @bindir@
+mandir = @mandir@
+infodir = @infodir@
gitexecdir = @libexecdir@/git-core
-datarootdir = @datarootdir@
+sharedir = @datadir@
template_dir = @datadir@/git-core/templates
+htmldir = @htmldir@
+sysconfdir = @sysconfdir@
-mandir=@mandir@
-
+exec_prefix = @exec_prefix@
+datarootdir = @datarootdir@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+docdir = @docdir@
srcdir = @srcdir@
VPATH = @srcdir@
-
export exec_prefix mandir
export srcdir VPATH
--
1.6.5.2
next prev parent reply other threads:[~2009-11-03 22:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-31 20:41 [PATCH 0/2] Set Makefile variables from configure Ben Walton
2009-10-31 20:41 ` [PATCH 1/2] configure: add function to directly set Makefile variables Ben Walton
2009-10-31 20:41 ` [PATCH 2/2] configure: allow user to set gitconfig, pager and editor Ben Walton
2009-11-03 17:25 ` [PATCH 0/2] Set Makefile variables from configure Ben Walton
2009-11-03 21:54 ` Jonathan Nieder
2009-11-03 22:21 ` Jonathan Nieder [this message]
2009-11-04 18:05 ` Ben Walton
2009-11-04 18:05 ` [PATCH 1/2] configure: add macro to set arbitrary make variables Ben Walton
2009-11-04 18:06 ` [PATCH 2/2] configure: add settings for gitconfig, editor and pager Ben Walton
2009-11-04 19:36 ` [PATCH 0/2] Set Makefile variables from configure Junio C Hamano
2009-11-04 19:47 ` Ben Walton
2009-11-04 19:56 ` Junio C Hamano
2009-11-04 20:16 ` Ben Walton
2009-11-04 20:16 ` Jonathan Nieder
2009-11-04 18:07 ` Ben Walton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091103222123.GA17097@progeny.tock \
--to=jrnieder@gmail.com \
--cc=bwalton@artsci.utoronto.ca \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).