From: Johannes Sixt Date: Fri, 30 Nov 2007 21:28:38 +0000 (+0100) Subject: Windows: Use a relative default template_dir and ETC_GITCONFIG X-Git-Tag: v1.6.0-rc0~159^2~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8512439af25c93942d569d250d49d135d8b7062b;p=git.git 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 --- diff --git a/Makefile b/Makefile index 9c5aae03b..723316074 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