Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-08-05 03:56:38 +0400
committerJunio C Hamano <junkio@cox.net>2005-08-12 21:38:23 +0400
commita682ef9f06075b4bb83dcf479c91d578125084b9 (patch)
tree2d9999f8bcbb038fbf8837eceb0d6da076e33351 /templates/Makefile
parentb05701c5b4c7983ef04d8c286c65089596553bd6 (diff)
[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 6b2a90071b..776e6c8009 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) -