-
Committer:
Tim Penhey
-
Date:
2013-04-03 20:27:27 UTC
-
mfrom:
(1092.1.1 man-page)
-
Revision ID:
tim.penhey@canonical.com-20130403202727-u2d3yqpnon37nxo3
Add a python script to generate the man page.
To generate a man page locally, first build and install juju (as the python
script calls juju to get the information), then run
./scripts/generate-docs.py man
This will create a local juju.1 file. You can use man to look at this by:
man ./juju.1
To make the gzipped one installed in the right place:
./scripts/generate-docs.py man -o - | gzip | sudo tee /usr/share/man/man1/juju.1.gz > /dev/null
There is probably an easier way, but I couldn't figure it out, and gave up looking.
R=
CC=
https://codereview.appspot.com/8300043