Have a Makefile like this:
all: build
build:
dot2tex -ftikz temporal_dag.dot --figonly > temporal_dag.tex
latex notes && bibtex notes && latex notes && pdflatex notes
.PHONY: clean
clean:
rm -v *.aux *.bbl *.blg *.dvi *.fdb_latexmk *.fls *.log *.out *.toc
But include clean like that seems to result in "make" failing. I think clean is running.
rm -v
using a TAB (ok) or spaces (wrong) ?latex notes
twice. Which program makes thenotes.aux
, can this be done before thebuild
step (targetbuild
depending on targethelpfiles
, and targethelpfiles
generatingnotes.aux
) ?