summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2010-07-08 07:12:38 +0000
committerDRC <dcommander@users.sourceforge.net>2010-07-08 07:12:38 +0000
commit6452addd2be79a1e88a2128c86478151ddfa8d7a (patch)
tree8615fdf9144a0be6f10dc6bb7111f970f92b01d2 /release
parent896a96c2ddae731bb129cfab15ceed0d5731a5a7 (diff)
downloadtigervnc-6452addd2be79a1e88a2128c86478151ddfa8d7a.tar.gz
tigervnc-6452addd2be79a1e88a2128c86478151ddfa8d7a.zip
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
Diffstat (limited to 'release')
-rw-r--r--release/makemacpkg3
-rw-r--r--release/uninstall.sh.tmpl2
2 files changed, 4 insertions, 1 deletions
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