index : checker | |
Archlinux32 consistency checker | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/genhtml | 15 |
diff --git a/bin/genhtml b/bin/genhtml new file mode 100755 index 0000000..8593727 --- /dev/null +++ b/bin/genhtml @@ -0,0 +1,15 @@ +#!/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 + m4 -I "${templates_dir}" -P < "${templates_dir}/${file}.m4" > "${html_dir}/${file}.html" +done |