gitman

Export manpages from git repositories
git clone git://jacobedwards.org/gitman
Log | Files | Refs | README | LICENSE

README (689B)


      1 gitman
      2 ======
      3 
      4 The gitman project was specifically designed for hosting manpages
      5 on a website using OpenBSD's man.cgi, but it would be easy to use
      6 for other applications as well.
      7 
      8 It should work on Linux too, although using makewhatis(8) might not
      9 make sense in that environment since it appears to be a central
     10 database.
     11 
     12 Setting up man.cgi
     13 ------------------
     14 
     15 To setup man.cgi, download the OpenBSD source tree to /usr/src and
     16 go to /usr/src/usr.bin/mandoc/. Then follow the instructions in the
     17 Makefile:
     18 
     19 	# To configure, run:    cp cgi.h.example cgi.h; vi cgi.h
     20 	# To build, run:        make man.cgi
     21 	# To install, run:      sudo make installcgi
     22 	# After that, read:     man man.cgi.8