blob: ce52eaeeb15de8ff5a59e1547d8f90c33eefdcf3 (
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
29
30
31
32
33
34
35
36
37
38
|
PACKAGE=tex-vpat
SRC = texlive-vpat.tex
PDF = ${SRC:%.tex=%.pdf}
HTML = ${SRC:%.tex=%.html} ${SRC:%.tex=%.css}
all: ${PDF} ${HTML}
%.pdf: %.tex
lualatex $<
while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
do lualatex $<; done
%.html: %.tex
htlatex $<
%.css: %.tex
htlatex $<
clean:
$(RM) *.log *.aux \
*.cfg *.glo *.idx *.toc \
*.ilg *.ind *.out *.lof \
*.lot *.bbl *.blg *.gls *.cut *.hd \
*.dvi *.ps *.thm *.tgz *.zip \
*.4ht *.4ct *.4tc *.tmp *.idv *.lg *.xref
distclean: clean
$(RM) ${PDF} ${HTML}
archive: all clean
COPYFILE_DISABLE=1 tar -czvf ../$(PACKAGE).tgz --exclude '*~' \
--exclude '*.tgz' --exclude '*.zip' --exclude 2021tug \
--exclude '.git*' --exclude '*.tar' \
--transform 's/^./${PACKAGE}/' .; mv ../${PACKAGE}.tgz .
|