Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/genhtml
blob: 2b22861081aca3f3595c0d42064941e66ad8d576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/oksh

BASE="${0%/*}/.."
. "${BASE}/conf/default.conf"

if test ! -d "${html_dir}"; then
	echo "no html output diretory found.. call setup first."
	exit 1
fi

FILES="summary"

for file in $FILES; do
	echo "Regenerating $file.html.."
	m4 -I "${templates_dir}" -P < "${templates_dir}/${file}.m4" > "${html_dir}/${file}.html"
done