X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=templates%2FMakefile;h=776e6c80097ff5e56659b36c8bf22194c8b9dace;hb=b595ed1478e6240593df4c927c4a240575f53d44;hp=6b2a90071bcf1fc8e494b08f3738a34f35bb9cd0;hpb=6b7242aa1acc3c7835f80522914ffc4b2e789a29;p=git.git diff --git a/templates/Makefile b/templates/Makefile index 6b2a9007..776e6c80 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) -