20 lines
388 B
Makefile
20 lines
388 B
Makefile
|
.PHONY: pdf
|
||
|
pdf: overview.pdf
|
||
|
|
||
|
rubbish/:
|
||
|
mkdir rubbish
|
||
|
|
||
|
overview.pdf:| rubbish/overview.pdf
|
||
|
ln rubbish/overview.pdf overview.pdf
|
||
|
rubbish/overview.pdf: overview.tex
|
||
|
|
||
|
overview.tex: overview.md | rubbish/
|
||
|
lowdown -stlatex overview.md > overview.tex
|
||
|
|
||
|
rubbish/overview.pdf: overview.tex
|
||
|
pdflatex -output-directory rubbish/ overview.tex
|
||
|
|
||
|
.PHONY: clean
|
||
|
clean:
|
||
|
$(RM) -r rubbish overview.tex
|