X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=templates%2FMakefile;h=776e6c80097ff5e56659b36c8bf22194c8b9dace;hb=bb97a2a804e0afdd686ed9f18fed2ddc15833540;hp=6b2a90071bcf1fc8e494b08f3738a34f35bb9cd0;hpb=d59a6043a8a7aed97c684fb4f14fe5221df1fcaf;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) -