Fix loud part volume bug
[zynaddsubfx-code.git] / doc / Makefile
blobacc2b319041b6e1c35df75d14604ea73bf822b09
2 .PHONY: subdirs gen
4 all: gen-files man xhtml chunked pdf
6 gen-files:
7 cd gen; make
10 xhtml: zynaddsubfx.txt envelope.txt intro.txt lfo.txt
11 asciidoctor -a numbered -a toc -b html5 \
12 -a latexmath \
13 zynaddsubfx.txt
15 chunked:
16 rm -rf ./zynaddsubfx.chunked
17 mkdir ./zynaddsubfx.chunked
18 rm -f "./zynaddsubfx.chunked/*.html"
19 ln -s ../images/ zynaddsubfx.chunked/images
20 cp *.txt zynaddsubfx.chunked/
21 @curl https://raw.githubusercontent.com/asciidoctor/asciidoctor-extensions-lab/master/lib/multipage-html5-converter.rb -o ./zynaddsubfx.chunked/multipage-html5-converter.rb
22 cd ./zynaddsubfx.chunked; asciidoctor -r ./multipage-html5-converter.rb -b multipage_html5 zynaddsubfx.txt
23 ln -s zynaddsubfx-chunked.html ./zynaddsubfx.chunked/index.html
24 rm ./zynaddsubfx.chunked/multipage-html5-converter.rb ./zynaddsubfx.chunked/*.txt
26 pdf:
27 asciidoctor-pdf zynaddsubfx.txt
29 man: zynaddsubfx.1.txt
30 asciidoctor -b manpage zynaddsubfx.1.txt
32 clean:
33 rm -f *~ *html *pdf *xml *tex *log zynaddsubfx.chunked/images
34 rm -r -f zynaddsubfx.chunked/