You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
692 B

sietch.pdf: sietch.tex sietch.bib
$(MAKE) pdf
LATEX=pdflatex
.PHONY: pdf
pdf:
printf '\\renewcommand{\\docversion}{Version %s}' "$$(git describe --tags --abbrev=6)" |tee sietch.ver
# If $(LATEX) fails, touch an input so that 'make' won't think it is up-to-date next time.
rm -f sietch.aux sietch.bbl sietch.blg sietch.brf sietch.bcf
$(LATEX) sietch.tex
biber sietch
$(LATEX) sietch.tex
$(LATEX) sietch.tex
$(LATEX) sietch.tex
dot -Tpdf -o itm-zchain.pdf itm-zchain.gv # && evince itm-zchain.pdf
evince sietch.pdf
.PHONY: clean
clean:
rm -f sietch.dvi sietch.pdf sietch.bbl sietch.blg sietch.brf sietch.toc sietch.aux sietch.out sietch.log sietch.bcf sietch.run.xml sietch.ver