summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-06-16 00:11:46 +0000
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-06-16 00:11:46 +0000
commitf41ea24e97f05f9ddb66547ef7d0aae95db88db1 (patch)
treee7ae7a76f6d627dc145769d19a7c78f16b35e572 /doc
parent3c655a4b8479a8c4a332cc4f36315c7841da34e7 (diff)
downloadinfinitytier-f41ea24e97f05f9ddb66547ef7d0aae95db88db1.tar.gz
infinitytier-f41ea24e97f05f9ddb66547ef7d0aae95db88db1.zip
Build fixes.
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/build.sh b/doc/build.sh
index 4ed69004..e06a4a20 100755
--- a/doc/build.sh
+++ b/doc/build.sh
@@ -13,6 +13,11 @@ if [ -e /usr/bin/ronn ]; then
/usr/bin/ronn -r zerotier-idtool.1.md
/usr/bin/ronn -r zerotier-one.8.md
else
+ if [ ! -f /usr/bin/node -a ! -f /usr/bin/nodejs ]; then
+ echo 'Unable to build man pages: no /usr/bin/ronn or /usr/bin/node / nodejs!'
+ exit 0
+ fi
+
if [ ! -f node_modules/marked-man/bin/marked-man ]; then
echo 'Installing MarkDown to ROFF converter...'
npm install marked-man