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>
Johannes Sixt committed
Nov 30, 2007 at 22:28 UTC
8512439af25c93942d569d250d49d135d8b7062b
1 file changed
+2
Makefile
+2
@@ -739,6 +739,8 @@ ifneq (,$(findstring MINGW,$(uname_S)))
739
COMPAT_OBJS += compat/mingw.o compat/fnmatch.o compat/regex.o
740
EXTLIBS += -lws2_32
741
X = .exe
742
+ template_dir = ../share/git-core/templates/
743
+ ETC_GITCONFIG = ../etc/gitconfig
744
endif
745
ifneq (,$(findstring arm,$(uname_M)))
746
ARM_SHA1 = YesPlease