summaryrefslogtreecommitdiff
path: root/docs/Makefile
blob: f42f7fc837fe32147f4bc603b22d79036182b8b4 (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
ADK_TOPDIR=$(pwd)

all:	pdf text html

pdf:
	mkdir .pdf pdf
	cp *.txt .pdf
	cp images/*.png pdf
	a2x -v --dblatex-opts "-P latex.output.revhistory=0" -f pdf -d book -L -D pdf .pdf/manual.txt

text:
	mkdir .text text
	cp *.txt .text
	cp images/*.png text
	a2x -v -f text -d book -L -D text .text/manual.txt

html:
	mkdir .html html
	cp *.txt .html
	cp images/*.png html
	a2x -v --xsltproc-opts "--stringparam toc.section.depth 2" -f xhtml -d book -L -D html .html/manual.txt

clean:
	rm -rf pdf .pdf text .text html .html