summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-10-21 20:53:49 +0200
committerGitHub <noreply@github.com>2016-10-21 20:53:49 +0200
commit98656f9d5ca25aaea2e977b79e09c9bb661f4cef (patch)
tree19aaadfca6f5f754aa25e1bc9b02d2f8d1cfd571 /Makefile
parente43a2bac48edbd4af2892c4161d0036fc642e528 (diff)
parentb409613a112531013787984bbfb809b1bdda63bf (diff)
downloadluaotfload-98656f9d5ca25aaea2e977b79e09c9bb661f4cef.tar.gz
Merge pull request #386 from phi-gamma/master
code for v2.8-rc3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index a131f3a..e59b43e 100644
--- a/Makefile
+++ b/Makefile
@@ -198,16 +198,18 @@ $(TDS_ZIP): $(DOCS) $(ALL_STATUS) check
sign: $(CTAN_ZIPSIG)
-.PHONY: package install manifest clean mrproper show showtargets check import news
+.PHONY: package install manifest clean mrproper show showtargets
+.PHONY: check import news tds ctan sign package loader
+ifndef DESTDIR
install:
- @echo " ××××××××××××××××××××××××××××××××"
- @echo " There is no “install” target."
- @echo " ××××××××××××××××××××××××××××××××"
- @echo " Compile a TDS zipball (make tds)"
- @echo " and extract that into your local"
- @echo " TEXMF instead."
- @echo " ××××××××××××××××××××××××××××××××"
+ $(error "in order to install you need to provide $$DESTDIR")
+else
+install: $(TDS_ZIP)
+ $(info installing to destination “$(DESTDIR)”)
+ install -dm755 "$(DESTDIR)"
+ unzip "$(TDS_ZIP)" -d "$(DESTDIR)"
+endif
manifest:
@echo "Source files:"