index : checker | |
Archlinux32 consistency checker | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-14 13:18:14 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-14 13:18:14 +0200 |
commit | e9a7c61175caf1e7fca688fe69443b509335a2af (patch) | |
tree | 31bf3798fdf650ffd1aa46ff7306897da436ed02 /bin/genhtml | |
parent | c6b8602075156e9997d0504fc861f11cd60ab613 (diff) |
-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 |