diff -r 576a4709a44f -r d5ad5432e9eb install.sh --- a/install.sh Tue Apr 22 07:34:02 2008 +0000 +++ b/install.sh Sat Apr 26 02:49:34 2008 +0000 @@ -10,6 +10,8 @@ PREFIX=/usr/local PF_CONFDIR=$(postconf -h config_directory) DOC_DIR=${PREFIX}/share/doc/vmm +MAN1DIR=${PREFIX}/share/man/man1 +MAN5DIR=${PREFIX}/share/man/man5 DOCS="ChangeLog COPYING INSTALL README" if [ $(id -u) -ne 0 ]; then @@ -24,6 +26,9 @@ install -b -m 0640 ${INSTALL_OPTS} pgsql-*.cf ${PF_CONFDIR}/ install -m 0700 ${INSTALL_OPTS} vmm ${PREFIX}/sbin +[ -d ${MAN1DIR} ] || mkdir -m 0755 -p ${MAN1DIR} +install -m 0644 ${INSTALL_OPTS} vmm.1 ${MAN1DIR} + [ -d ${DOC_DIR} ] || mkdir -m 0755 -p ${DOC_DIR} for DOC in ${DOCS}; do install -m 0644 ${INSTALL_OPTS} ${DOC} ${DOC_DIR}