system-helpers/_man/README.md

14 lines
425 B
Markdown
Raw Normal View History

# README
Build man pages with `ronn`.
- Install Ruby and `gem`
- Install `gem install bundler` or via system package `bundler`
- Execute the following to build and serve via _Jekyll_
```shell
bundle config set --local path 'vendor/bundle'
bundle install
# generate man pages in /usr/share/man/man1
for file in src/*.ronn; do bn=$(basename $file .ronn); bundle exec ronn --pipe < $file > ../usr/share/man/man1/$bn; done
```