Re: Installing without rebuilding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux