Documentation updates.

This commit is contained in:
David Newhall II
2019-01-24 00:52:08 -08:00
parent f1213c0128
commit 1cd01e3b72
3 changed files with 50 additions and 3 deletions
@@ -1,5 +1,7 @@
#!/bin/bash
set -o pipefail
OUTPUT=$1
# This requires the installation of `ronn`: sudo gem install ronn
@@ -8,6 +10,6 @@ for f in cmd/*/README.md;do
PKGNOCMD="${f#cmd/}"
PKG="${PKGNOCMD%/README.md}"
echo "Creating Man Page: ${f} -> ${OUTPUT}${PKG}.1.gz"
echo "If this produces an error. Install ronn; something like: sudo gem install ronn"
ronn < "$f" | gzip -9 > "${OUTPUT}${PKG}.1.gz"
ronn < "$f" | gzip -9 > "${OUTPUT}${PKG}.1.gz" || \
echo "If this produces an error. Install ronn; something like: sudo gem install ronn"
done