Code

Windows: Use a relative default template_dir and ETC_GITCONFIG
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 30 Nov 2007 21:28:38 +0000 (22:28 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Thu, 26 Jun 2008 06:47:07 +0000 (08:47 +0200)
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>
Makefile

index 9c5aae03bb6b7aab381cb3e551b176d25f48cf52..723316074375bb04fffc1389333d7bbab549c564 100644 (file)
--- 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