summaryrefslogtreecommitdiff
path: root/scripts/runtohtml.sh
blob: 918eb652ffcf09a7662bc0bf81718cfea76060b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

rm -rf docs/browse

FILES=$(find include source platform -name '*.[chm]')

echo running ctags to make xref
ctags -x $FILES > tags-xref

for input in $FILES
do
	output=docs/browse/$input.html
	mkdir -p $(dirname $output)
	echo $input $output
	python scripts/tohtml.py $input < $input > $output
done

rm tags-xref