Mercurial > pub > dyncall > dyncall
annotate doc/manual/Makefile.generic @ 382:dd5d03483314
- dynload changes to support macos >= 11.0.1 "built-in dynamic linker cache of all system-provided libraries" (those dylibs are no longer present on the fs)"
* dynload_plain test code changes to reflect this
* note in doc
- changed dynload_plain to not do inode-based tests on windows
author | Tassilo Philipp |
---|---|
date | Wed, 20 Jan 2021 13:49:43 +0100 |
parents | dcb7157392f1 |
children |
rev | line source |
---|---|
0 | 1 all: manual.pdf |
2 | |
3 sources: *.tex callconvs/*.tex dyncall_logo.* dyncall_watermark.* | |
4 | |
72 | 5 pdf: manual.pdf |
6 | |
7 html:: html/manual.html | |
8 #html-single: html/manual.html | |
9 #html-split: html/manual.html | |
10 | |
11 clean: | |
12 # pdf | |
13 cd "${VPATH}" && for i in pdf aux lof log lol lot out toc; do rm -f manual.$$i || true; done | |
14 # html | |
15 cd "${VPATH}" && ( \ | |
16 for i in 4ct 4tc css dvi html idv lg tmp xref; do rm -f manual.$$i || true; done; \ | |
100
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
17 for i in manual*x.png manual*.html texput.log manual_*.log zzmanual.eps zzmanual.ps custom_tex4ht.env multirow.4ht; do rm -f $$i || true; done; \ |
72 | 18 rm -r html || true; \ |
19 ) | |
20 | |
21 | |
22 # Main target dependencies ---> | |
0 | 23 |
71 | 24 |
75
a59ae4370202
- html manual: moved some generation steps to website build
cslag
parents:
72
diff
changeset
|
25 html/manual.html: manual_tex4ht.cfg sources |
100
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
26 # The following runs htlatex, but sets up a few things beforehand to control |
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
27 # it's behavior: |
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
28 # - create custom, local version of tex4ht.env based on default one, but with |
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
29 # better bitmaps |
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
30 # - create empty multirow.4ht file, to simply override tex4ht's default one, |
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
31 # which produces wrong output in our case - since all the tables where we |
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
32 # use the multirow package are rendered into .pngs for our html doc, we don't |
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
33 # need any tex4ht specific version outputing html |
70 | 34 cd "${VPATH}" && ( \ |
100
dcb7157392f1
- manual: fixed html output of tables rendered as .png, using tex multirow
cslag
parents:
75
diff
changeset
|
35 :>./multirow.4ht; \ |
70 | 36 cp $$(dirname $$(which tex4ht))/../share/texmf-dist/tex4ht/base/unix/tex4ht.env ./custom_tex4ht.env; \ |
37 sed -E -i '' 's/(Text|Graphics)(AlphaBits)=[1,2,3]([^0-9])/\1\2=4\3/g' custom_tex4ht.env; \ | |
38 mkdir -p ./html/; \ | |
72 | 39 htlatex manual.tex manual_tex4ht " -cunihtf -e./custom_tex4ht.env -utf8" "-e./custom_tex4ht.env -d./html/"; \ |
70 | 40 rm ./html/*.css; \ |
41 ) | |
72 | 42 # Postprocessing. Inject menu into output html pages. Replace some pieces, etc.. |
71 | 43 for f in "${VPATH}/html/"*.html; do \ |
72 | 44 sed -E -i '' $$'s/([[:space:]]class=["\'])lstlisting(["\'])/\\1ttDiv\\2/' "$$f"; \ |
71 | 45 done |
70 | 46 |
72 | 47 manual.pdf: sources |
48 # run twice for toc on some tex installs | |
49 cd "${VPATH}" && for i in 1 2; do pdflatex -output-directory="${PWD}" manual.tex; done | |
0 | 50 |