From: Junio C Hamano <gitster@pobox.com>
To: Alex Blewitt <alex.blewitt@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Problem running 'make install' as root when on mounted fs
Date: Fri, 07 Aug 2009 10:51:12 -0700 [thread overview]
Message-ID: <7vbpmr1pin.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <8F9F4A8A-9515-4A7D-90EE-4BD3DA3F7A2B@gmail.com> (Alex Blewitt's message of "Fri\, 7 Aug 2009 11\:08\:24 +0100")
Alex Blewitt <alex.blewitt@gmail.com> writes:
> I think it would be possible to restrict the GIT-BUILD-OPTIONS to be
> generated during a build phase, so restructuring the Makefile like:
>
> install: build
> all:: build GIT-BUILD-OPTIONS
> build: ...
If you did:
make prefix=$HOME all
make prefix=/usr install
then the second step needs to notice that the gitexecdir computed and
stored in exec_cmd.o in the first step is now invalid, and needs to
recompile the file. The whole purpose of GIT-BUILD-OPTIONS is to detect
such a case---doesn't your change defeat it?
prev parent reply other threads:[~2009-08-07 17:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-07 10:08 Problem running 'make install' as root when on mounted fs Alex Blewitt
2009-08-07 17:51 ` Junio C Hamano [this message]
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=7vbpmr1pin.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=alex.blewitt@gmail.com \
--cc=git@vger.kernel.org \
/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).