summaryrefslogtreecommitdiff
path: root/scripts/runtohtml.sh
blob: cd1fee90e58d2a53f601c56e6d444b560e5a79f0 (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 '*.[ch]')

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 > $output
done

rm tags-xref