summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-13 15:41:31 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-13 22:14:14 -0400
commit86215812487930c69e197ef03be31e0b396a04cc (patch)
tree7e2b7e225b74cc0c06c2aa587798c756eb3a644d
parentgit-gui: Collapse $env(HOME) to ~/ in recent repositories on Windows (diff)
downloadtgif-86215812487930c69e197ef03be31e0b396a04cc.tar.xz
git-gui: Honor a config.mak in git-gui's top level
I keep forgetting to include TCLTK_PATH when I build git-gui on some systems. Placing that rule (among others) into a config.mak makes it easier to compile the application the same way every time. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index a7cfd6d5a0..6483b21cbf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
.DS_Store
+config.mak
Git Gui.app*
git-gui.tcl
GIT-VERSION-FILE
diff --git a/Makefile b/Makefile
index ef9cd91262..e860319278 100644
--- a/Makefile
+++ b/Makefile
@@ -99,6 +99,8 @@ ifeq ($(findstring $(MAKEFLAGS),s),s)
QUIET_GEN =
endif
+-include config.mak
+
DESTDIR_SQ = $(subst ','\'',$(DESTDIR))
gitexecdir_SQ = $(subst ','\'',$(gitexecdir))
SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))