expoweb/documents/bierbook/Makefile

31 lines
906 B
Makefile

all: bierbook.pdf seshbook.pdf
#If using windows uncomment this
#LATEXTOOL=pdflatex.exe
#If using linux or macos(?) uncomment this
LATEXTOOL=pdflatex
bierbook.pdf: bierbook.tex names.txt dates.txt bierbook-style.sty
$(LATEXTOOL) -synctex=1 -interaction=nonstopmode -shell-escape bierbook.tex
$(LATEXTOOL) -synctex=1 -interaction=nonstopmode -shell-escape bierbook.tex
$(LATEXTOOL) -synctex=1 -interaction=nonstopmode -shell-escape bierbook.tex
seshbook.pdf: seshbook.tex names.txt bierbook-style.sty
$(LATEXTOOL) -synctex=1 -interaction=nonstopmode -shell-escape seshbook.tex
$(LATEXTOOL) -synctex=1 -interaction=nonstopmode -shell-escape seshbook.tex
cleanbier:
rm -f bierbook.aux
rm -f bierbook.log
rm -f bierbook.pdf
rm -f bierbook.synctex.gz
rm -f bierbook.toc
cleansesh:
rm -f seshbook.aux
rm -f seshbook.log
rm -f seshbook.pdf
rm -f seshbook.synctex.gz
clean: cleanbier cleansesh