summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2007-11-30 21:28:38 (GMT)
committerJohannes Sixt <johannes.sixt@telecom.at>2008-06-26 06:47:07 (GMT)
commit8512439af25c93942d569d250d49d135d8b7062b (patch)
tree916c8094b3a509a1aad17124b590cb6a9b936966 /Makefile
parent6fad004a37432e4378b6cce53eebe8a079104e93 (diff)
downloadgit-8512439af25c93942d569d250d49d135d8b7062b.zip
git-8512439af25c93942d569d250d49d135d8b7062b.tar.gz
git-8512439af25c93942d569d250d49d135d8b7062b.tar.bz2
Windows: Use a relative default template_dir and ETC_GITCONFIG
With this definition the templates and system config file will be found irrespective of the installation location. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9c5aae0..7233160 100644
--- a/Makefile
+++ b/Makefile
@@ -739,6 +739,8 @@ ifneq (,$(findstring MINGW,$(uname_S)))
COMPAT_OBJS += compat/mingw.o compat/fnmatch.o compat/regex.o
EXTLIBS += -lws2_32
X = .exe
+ template_dir = ../share/git-core/templates/
+ ETC_GITCONFIG = ../etc/gitconfig
endif
ifneq (,$(findstring arm,$(uname_M)))
ARM_SHA1 = YesPlease