Code

Export template_dir in Makefile.
authorTom Prince <tom.prince@ualberta.net>
Wed, 12 Oct 2005 01:47:33 +0000 (18:47 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 12 Oct 2005 01:47:33 +0000 (18:47 -0700)
If somebody set template_dir in config.mak. Then git-init-db would be
compiled with the correct location but the templates would be installed
in the default location. Fix it.

Signed-off-by: Tom Prince <tom.prince@ualberta.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index 8697d52de727dc1882c62e1edcbc68fc0cc52302..d345c5d116b4a1378955627bfbe74beb8f1fee93 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -310,7 +310,7 @@ SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH)) \
          $(patsubst %.py,%,$(SCRIPT_PYTHON)) \
          gitk
 
-export prefix TAR INSTALL DESTDIR SHELL_PATH
+export prefix TAR INSTALL DESTDIR SHELL_PATH template_dir
 ### Build rules
 
 all: $(PROGRAMS) $(SCRIPTS)