aboutsummaryrefslogtreecommitdiff
path: root/templates/Makefile
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-08-05 01:56:38 +0200
committerJunio C Hamano <junkio@cox.net>2005-08-12 10:38:23 -0700
commita682ef9f06075b4bb83dcf479c91d578125084b9 (patch)
tree2d9999f8bcbb038fbf8837eceb0d6da076e33351 /templates/Makefile
parentb05701c5b4c7983ef04d8c286c65089596553bd6 (diff)
downloadgit-a682ef9f06075b4bb83dcf479c91d578125084b9.tar.gz
git-a682ef9f06075b4bb83dcf479c91d578125084b9.tar.xz
[PATCH] Use $DESTDIR instead of $dest
$DESTDIR is more usual during the build than $dest and is what is usually used in the makefiles, so let's use it too. Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'templates/Makefile')
-rw-r--r--templates/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/Makefile b/templates/Makefile
index 6b2a90071..776e6c800 100644
--- a/templates/Makefile
+++ b/templates/Makefile
@@ -3,7 +3,7 @@
INSTALL=install
prefix=$(HOME)
template_dir=$(prefix)/share/git-core/templates/
-# dest=
+# DESTDIR=
all: boilerplates custom
find blt
@@ -34,5 +34,5 @@ clean:
rm -rf blt
install: all
- $(INSTALL) -d -m755 $(dest)$(template_dir)
- tar Ccf blt - . | tar Cxf $(dest)$(template_dir) -
+ $(INSTALL) -d -m755 $(DESTDIR)$(template_dir)
+ tar Ccf blt - . | tar Cxf $(DESTDIR)$(template_dir) -