Return to cgi.h.example CVS log | Up to [cvsweb.bsd.lv] / mandoc |
File: [cvsweb.bsd.lv] / mandoc / cgi.h.example (download)
Revision 1.1, Sat Jul 12 18:32:47 2014 UTC (9 years, 9 months ago) by schwarze
No need for run-time configuration, add minimal compile-time configuration facilities, just two paths and two HTML strings. Show the title on all pages, not just the index page. |
/* Example compile-time configuration file for man.cgi(8). */ #define MAN_DIR "/var/www/man" #define CSS_DIR "" #define CUSTOMIZE_TITLE "Manual pages with mandoc" #define CUSTOMIZE_BEGIN "<H2>\nManual pages with " \ "<A HREF=\"http://mdocml.bsd.lv/\">mandoc</A>\n</H2>"