summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2007-12-10 09:31:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-11 08:38:46 (GMT)
commit28072a5d303b212695ef8b70f24cfed069ec94b8 (patch)
tree8c809e2021fcb8d20a4c5f02f90fd73082ad7cc8 /Makefile
parent923db42eea6fac743d8c93f0af4904740a445edf (diff)
downloadgit-28072a5d303b212695ef8b70f24cfed069ec94b8.zip
git-28072a5d303b212695ef8b70f24cfed069ec94b8.tar.gz
git-28072a5d303b212695ef8b70f24cfed069ec94b8.tar.bz2
Don't cache DESTDIR in perl/perl.mak.
DESTDIR is supposed to be overridden on 'make install' after doing 'make'. Have the automatically generated perl/perl.mak not cache the value of DESTDIR to support that for the perl/ subdirectory also. Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4cdb84b..3615be0 100644
--- a/Makefile
+++ b/Makefile
@@ -1025,7 +1025,7 @@ install: all
$(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(gitexecdir_SQ)'
$(INSTALL) git$X '$(DESTDIR_SQ)$(bindir_SQ)'
$(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
- $(MAKE) -C perl prefix='$(prefix_SQ)' install
+ $(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
ifndef NO_TCLTK
$(MAKE) -C gitk-git install
$(MAKE) -C git-gui install