Xymon Mailing List Archive search

Suggestion to move html version of manpages to doc directory

3 messages in this thread

list T.J. Yang · Tue, 24 May 2005 10:13:55 -0500 ·
After  installation of hobbit(4.0.3) , I found the man directory contains 
the html version of
man page. Can we make html version install into docs diretory under hobbit ? 
and have
the real man page in man directory.


tj

bash-2.05b# ls
bin  man  server
bash-2.05b# ls man/man1/
bb.1.html               bb-findhost.cgi.1.html  bbretest-net.sh.1.html
bb-ack.cgi.1.html       bbgen.1.html            bb-snapshot.cgi.1.html
bbcmd.1.html            bb-hist.cgi.1.html      bbtest-net.1.html
bbcombotest.1.html      bbhostgrep.1.html       bb-webpage.1.html
bb-csvinfo.cgi.1.html   bbhostshow.1.html       hobbitgraph.cgi.1.html
bb-datepage.cgi.1.html  bbmessage.cgi.1.html    hobbitsvc.cgi.1.html
bbdigest.1.html         bb-rep.cgi.1.html
bb-eventlog.cgi.1.html  bb-replog.cgi.1.html
bash-2.05b# head man/man1/bb.1.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

T.J. Yang
list Henrik Størner · Tue, 24 May 2005 17:24:27 +0200 ·
quoted from T.J. Yang
On Tue, May 24, 2005 at 10:13:55AM -0500, T.J. Yang wrote:
After  installation of hobbit(4.0.3) , I found the man directory contains the html version of
man page. Can we make html version install into docs diretory under hobbit ? and have the real man page in man directory.
This is something you define when running "configure" - it explicitly
asks you     Where should I install the Hobbit man-pages (/usr/local/man) ?

By default, the man-page files go below /usr/local/man/, and the html versions go in ~hobbit/server/www/help/manpages/

So I dont know how you configured Hobbit to get the result you have,
but I'm fairly certain it was your own doing :-)


Regards,
Henrik
list T.J. Yang · Tue, 24 May 2005 11:18:03 -0500 ·
quoted from Henrik Størner
By default, the man-page files go below /usr/local/man/, and the
html versions go in ~hobbit/server/www/help/manpages/

So I dont know how you configured Hobbit to get the result you have,
but I'm fairly certain it was your own doing :-)

Thanks for the pointer, I took a look in Makefile and learned I missed "MANROOT".

MANROOT=/opt/hobbit/man \
BBVAR=/var/opt/hobbit/data \
SECURECGIDIR=/etc/opt/apacheS2048/cgi-secure \
CGIDIR=/etc/opt/apacheS2048/cgi-bin BBUSER=hobbit TARGET=hobbit ./configure      \
--rrdinclude  /opt/rrdtool10/include  \
--rrdlib      /opt/rrdtool10/lib       \
--pcreinclude /opt/libpcre44/include   \
--pcrelib     /opt/libpcre44/lib       \
--sslinclude  /opt/libopenssl097/include    \
--ssllib      /opt/libopenssl097/lib      \
--ldapinclude /opt/openldap2127/include     \
--ldaplib     /opt/openldap2127/lib     \
--fping       /opt/fping22/sbin/fping  <<_EOT_
y
_EOT_

now the man directory has *.1 type of man pages but the html version are installed
in both /opt/hobbit/man and /opt/hobbit/server/www/help/manpages/

How can I disable the installation of html version manpage into /opt/hobbit/man ?

tj
Regards,
Henrik