From: DRC Date: Thu, 8 Jul 2010 07:12:38 +0000 (+0000) Subject: Include vncviewer man page in OS X package X-Git-Tag: v1.0.90~229 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6452addd2be79a1e88a2128c86478151ddfa8d7a;p=tigervnc.git Include vncviewer man page in OS X package git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4084 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/release/makemacpkg b/release/makemacpkg index 0ce9f371..da6a21c2 100644 --- a/release/makemacpkg +++ b/release/makemacpkg @@ -40,8 +40,8 @@ fi umask 022 TMPDIR=`mktemp -d /tmp/$PACKAGE_NAME-build.XXXXXX` PKGROOT=$TMPDIR/pkg/Package_Root -mkdir -p $PKGROOT mkdir -p $PKGROOT/opt/$PACKAGE_NAME/bin +mkdir -p $PKGROOT/opt/$PACKAGE_NAME/man/man1 install -m 755 unix/vncviewer/vncviewer $PKGROOT/opt/$PACKAGE_NAME/bin/ @@ -77,6 +77,7 @@ mkdir -p $TMPDIR/pkg/Resources > $PKGROOT/opt/$PACKAGE_NAME/bin/uninstall) chmod 755 $PKGROOT/opt/$PACKAGE_NAME/bin/uninstall +install -m 644 $SRCDIR/unix/vncviewer/vncviewer.man $PKGROOT/opt/$PACKAGE_NAME/man/man1/vncviewer.1 install -m 644 $SRCDIR/LICENCE.txt $PKGROOT/Library/Documentation/$PACKAGE_NAME/ sudo chown -R root:admin $PKGROOT diff --git a/release/uninstall.sh.tmpl b/release/uninstall.sh.tmpl index 25b5fab3..5e2fa748 100644 --- a/release/uninstall.sh.tmpl +++ b/release/uninstall.sh.tmpl @@ -46,6 +46,8 @@ cd $PWD echo Removing directories ... rmdir /opt/$PKGNAME/bin 2>&1 || RETCODE=-1 +rmdir /opt/$PKGNAME/man/man1 2>&1 || RETCODE=-1 +rmdir /opt/$PKGNAME/man 2>&1 || RETCODE=-1 rmdir /opt/$PKGNAME 2>&1 || RETCODE=-1 rmdir /Library/Documentation/$PKGNAME 2>&1 || RETCODE=-1