Export template_dir in Makefile.

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>
This commit is contained in:
Tom Prince 2005-10-11 18:47:33 -07:00 committed by Junio C Hamano
parent 3e09cdfd11
commit ec2d15118b

View file

@ -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)