aboutsummaryrefslogtreecommitdiff
path: root/doc/man/produce_html.sh
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-03-10 17:20:29 +0000
committerng0 <ng0@n0.is>2019-03-10 17:20:29 +0000
commitd780cbf97454be7ecfb00cb109274a0f11451159 (patch)
treefd5b0edd5408abcbd04d00ef482500b3dc85aa00 /doc/man/produce_html.sh
parent9310c410472230bd5c6da6f2676c7e21e3f92915 (diff)
downloadgnunet-d780cbf97454be7ecfb00cb109274a0f11451159.tar.gz
gnunet-d780cbf97454be7ecfb00cb109274a0f11451159.zip
make html in doc/man using mandoc (sans Toc feature)
Diffstat (limited to 'doc/man/produce_html.sh')
-rwxr-xr-xdoc/man/produce_html.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/man/produce_html.sh b/doc/man/produce_html.sh
new file mode 100755
index 000000000..ce6dea304
--- /dev/null
+++ b/doc/man/produce_html.sh
@@ -0,0 +1,14 @@
1#!/bin/sh
2
3existence()
4{
5 command -v "$1" >/dev/null 2>&1
6}
7
8if existence mandoc;
9then
10 for f in `find . -name \*\.[1-9]`;
11 do
12 mandoc -T html $f > $f.html;
13 done
14fi