diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-09-29 23:07:50 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-09-29 23:15:49 +0200 |
commit | c0dabc6889d78bd542a88af74c079c2741c3abfc (patch) | |
tree | 0c6fba4139517dd343c91eac4e6ded2aff54bc23 /Makefile | |
parent | 21c660b3904ebbe89fdb0be4608ca23142af0ced (diff) | |
download | luaotfload-c0dabc6889d78bd542a88af74c079c2741c3abfc.tar.gz |
[build] reinstate the “install” targetv2.8-rc2
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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:" |