merge sayamindu's old repository with my new one
This commit is contained in:
11
Makefile
11
Makefile
@@ -1,13 +1,19 @@
|
||||
#!/usr/bin/make
|
||||
.RECIPEPREFIX +=
|
||||
SIGIMAGE = figures/signature.png.gpg
|
||||
|
||||
all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
|
||||
|
||||
%.pdf: %.tex
|
||||
%.pdf: update-sig %.tex
|
||||
latexmk -f -xelatex $<
|
||||
|
||||
<update-sig:
|
||||
gpg --yes --output figures/signature.png --decrypt $(SIGIMAGE)
|
||||
|
||||
clean:
|
||||
latexmk -C *.tex
|
||||
rm -f *.tmp *.run.xml
|
||||
$(RM) -f *.tmp *.run.xml
|
||||
$(RM) -f figures/signature.png
|
||||
|
||||
viewpdf: all
|
||||
evince *.pdf
|
||||
@@ -15,4 +21,3 @@ viewpdf: all
|
||||
pdf: all
|
||||
|
||||
.PHONY: clean all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user