1 2 3 4 5 6 7 8 9
all: Logbook.pdf Logbook.pdf: Logbook.tex *.tex *.sty xelatex $< xelatex $< # to include generated ToC xdg-open $@ clean: rm -f Logbook.{pdf,aux,toc,log}