Update Makefile with install phony target

Signed-off-by: Collin J. Doering <collin@rekahsoft.ca>
This commit is contained in:
Collin J. Doering 2019-06-02 22:33:45 -04:00
parent 4cde04d933
commit 261e92fcaf
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
1 changed files with 9 additions and 5 deletions

View File

@ -1,9 +1,13 @@
PDFLATEX=$(shell which pdflatex)
MASTER=template.tex
PDFLATEX = $(shell which pdflatex)
PREFIX ?= .
FILENAME = template
.PHONY: doc
doc:
$(PDFLATEX) -file-line-error $(MASTER)
$(FILENAME).pdf: $(FILENAME).tex
$(PDFLATEX) -file-line-error $(FILENAME).tex
.PHONY: install
install: $(FILENAME).pdf
install $(FILENAME).pdf $(PREFIX)/$(FILENAME)
.PHONY: clean
clean: