Re: Installing without rebuilding
- From
Brian Gernhardt <benji@silverinsanity.com>
- Date
- Nov 12, 2007, 22:33 UTC
- Message-ID
- <FA694907-4845-4102-8A74-F084F88626AE@silverinsanity.com>
- In-Reply-To
- <8B92E213-17DB-4E83-B045-01CE0E7D26CB@silverinsanity.com>
On Nov 11, 2007, at 11:49 AM, Brian Gernhardt wrote:
> Git has a very clever Makefile. Sometimes its a little overly clever.
I found a way around the Makefile cleverness. It's ugly, but it requires no changes to the existing Makefile. I'm posting it in case anyone finds this thread trying to do what I'm doing. My nieve suggestion fails, BTW, because git-gui's Makefile does the same cleverness.
----- 8< -----
# Install ignoring version changes, etc. ignore="-o GIT-VERSION-FILE -o GIT-CFLAGS -o GIT-GUI-VARS" install="$ignore prefix=/usr/local/stow/git" gitgui="$install gitexecdir=/usr/local/bin" sudo make $install NO_TCLTK=Yes install install-doc sudo make $gitgui -C git-gui install
----- 8< -----
Why do I have to go through so many hoops just to install what I've already compiled?
~~ Brian