summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0081e36)
raw | patch | inline | side by side (parent: 0081e36)
author | Junio C Hamano <junkio@cox.net> | |
Sat, 20 May 2006 00:23:07 +0000 (17:23 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 20 May 2006 00:23:07 +0000 (17:23 -0700) |
c3c8835fbb182d971d71939b9a3ec7c8b86d6caf broke the default template
location which is in builtin-init-db.o, by not supplying the
compilation-time constant to the right build commands.
Signed-off-by: Junio C Hamano <junkio@cox.net>
location which is in builtin-init-db.o, by not supplying the
compilation-time constant to the right build commands.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 3a31ce0150e5f18330c9abdd64a086981899b265..4fd6520b7edf6215c3baf78298ac309883a7935d 100644 (file)
--- a/Makefile
+++ b/Makefile
GIT_PYTHON_DIR_SQ = $(subst ','\'',$(GIT_PYTHON_DIR))
ALL_CFLAGS += -DSHA1_HEADER='$(SHA1_HEADER_SQ)' $(COMPAT_CFLAGS)
+ALL_CFLAGS += -DDEFAULT_GIT_TEMPLATE_DIR='"$(template_dir_SQ)"'
LIB_OBJS += $(COMPAT_OBJS)
export prefix TAR INSTALL DESTDIR SHELL_PATH template_dir
### Build rules
git$X: git.c common-cmds.h $(BUILTIN_OBJS) $(GITLIBS)
$(CC) -DGIT_VERSION='"$(GIT_VERSION)"' \
- -DDEFAULT_GIT_TEMPLATE_DIR='"$(template_dir_SQ)"' \
$(ALL_CFLAGS) -o $@ $(filter %.c,$^) \
$(BUILTIN_OBJS) $(ALL_LDFLAGS) $(LIBS)