Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
[build] reinstate the “install” target
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-gamma committed Sep 29, 2016
1 parent 21c660b commit c0dabc6
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down

0 comments on commit c0dabc6

Please sign in to comment.