summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/reledmac/examples/makefile
blob: 7bebbcb0f4374e2f8d7d469758d7b423698997d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.SUFFIXES: .tex

SRC= $(wildcard *.tex)
OBJ= $(SRC:.tex=.pdf)

all:$(OBJ)
	python3 check-example.py

PDF:$(OBJ)

%.test: %.pdf
	python3 check-example.py --filename=$<

%.pdf: %.tex
	latexmk $<

2-glossaries.pdf: 2-glossaries.tex
	xelatex 2-glossaries
	xelatex 2-glossaries
	xelatex 2-glossaries
	makeglossaries 2-glossaries
	xelatex 2-glossaries

3-reledpar_pages_different_languages_lualatex.pdf: 3-reledpar_pages_different_languages_lualatex.tex
	latexmk --lualatex $<

clean:
	@$(RM) *pdf *toc *.1* *.2* *.3* *.eledsec* *.log *.fdb_latexmk *.aux *.end *.ilg *.ind *.idx *.out *.synctex.gz *.synctex.gz\(busy\)