mirror of
https://github.com/unpoller/unpoller.git
synced 2026-10-18 04:35:53 +02:00
Documentation updates.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user