Stop shipping pre-build man pages since it violates Debian arcane rule #134931e+26 and add manpages build target.
This commit is contained in:
parent
afda5e684b
commit
2e890580fc
9 changed files with 45 additions and 6 deletions
11
doc/build.sh
11
doc/build.sh
|
@ -14,8 +14,13 @@ fi
|
|||
|
||||
rm -f *.1 *.8
|
||||
|
||||
node_modules/marked-man/bin/marked-man zerotier-cli.1.md >zerotier-cli.1
|
||||
node_modules/marked-man/bin/marked-man zerotier-idtool.1.md >zerotier-idtool.1
|
||||
node_modules/marked-man/bin/marked-man zerotier-one.8.md >zerotier-one.8
|
||||
NODE=/usr/bin/node
|
||||
if [ -e /usr/bin/nodejs ]; then
|
||||
NODE=/usr/bin/nodejs
|
||||
fi
|
||||
|
||||
$NODE node_modules/marked-man/bin/marked-man zerotier-cli.1.md >zerotier-cli.1
|
||||
$NODE node_modules/marked-man/bin/marked-man zerotier-idtool.1.md >zerotier-idtool.1
|
||||
$NODE node_modules/marked-man/bin/marked-man zerotier-one.8.md >zerotier-one.8
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue