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