summaryrefslogtreecommitdiff
path: root/support/cluttex/doc/Makefile
blob: 0685cc8c582921e1da9ac64c845ff829f61c43b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: cluttex.pdf cluttex-ja.pdf

cluttex.pdf: cluttex.tex
	cluttex -e pdflatex -o $@ --make-depends=cluttex.pdf.dep $<

cluttex-ja.pdf: cluttex-ja.tex
	cluttex -e lualatex -o $@ --make-depends=cluttex-ja.pdf.dep $<

clean-outdir:
	-rm -rf $(shell cluttex -e pdflatex --print-output-directory cluttex.tex)
	-rm -rf $(shell cluttex -e lualatex --print-output-directory cluttex-ja.tex)

.PHONY: all clean-outdir

-include cluttex.pdf.dep
-include cluttex-ja.pdf.dep