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

mkdir -p doc/source
rm doc/source/*.html

FILES="fitz/*.[ch] draw/*.[ch] pdf/*.[ch] xps/*.[ch] cbz/*.[ch] apps/*.[ch]"

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

for input in $FILES
do
	output=doc/source/$(basename $input).html
	echo $input $output
	python scripts/tohtml.py < $input > $output
done

rm tags-xref