0
|
1 all: manual.pdf
|
|
2
|
|
3 sources: *.tex callconvs/*.tex dyncall_logo.* dyncall_watermark.*
|
|
4
|
|
5 manual.pdf: sources
|
|
6 # run twice for toc on some tex installs
|
|
7 cd ${VPATH} && pdflatex -output-directory=${PWD} manual.tex
|
|
8 cd ${VPATH} && pdflatex -output-directory=${PWD} manual.tex
|
|
9
|
|
10 manual.html: manual_tex4ht.cfg sources
|
|
11 # Create tex4ht.env from default one, but with better bitmaps
|
|
12 cp $$(dirname $$(which tex4ht))/../share/texmf-dist/tex4ht/base/unix/tex4ht.env ${VPATH}/
|
|
13 cd ${VPATH} && sed -E -i '' 's/(Text|Graphics)(AlphaBits)=[1,2,3]([^0-9])/\1\2=4\3/g' tex4ht.env
|
|
14 cd ${VPATH} && htlatex manual.tex manual_tex4ht " -cunihtf"
|
|
15
|
|
16 clean:
|
|
17 # pdf
|
|
18 for i in pdf aux lof log lol lot out toc; do rm -f manual.$$i || true; done
|
|
19 # html
|
|
20 for i in 4ct 4tc css dvi html idv lg tmp xref; do rm -f manual.$$i || true; done
|
|
21 for i in manual*x.png manual*.html texput.log manual_*.log zzmanual.eps zzmanual.ps tex4ht.env; do rm -f $$i || true; done
|