git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Benoit Sigoure
Message 3 of 3 in “Installing without rebuilding”
  1. Brian GernhardtNov 11, 2007
  2. Benoit SigoureNov 11, 2007
  3. Brian GernhardtNov 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.