]> source.dussan.org Git - tigervnc.git/commitdiff
Include vncviewer man page in OS X package
authorDRC <dcommander@users.sourceforge.net>
Thu, 8 Jul 2010 07:12:38 +0000 (07:12 +0000)
committerDRC <dcommander@users.sourceforge.net>
Thu, 8 Jul 2010 07:12:38 +0000 (07:12 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4084 3789f03b-4d11-0410-bbf8-ca57d06f2519

release/makemacpkg
release/uninstall.sh.tmpl

index 0ce9f37194cab36a0f9992cfb7406cdb86279b45..da6a21c22b614cc52001d165373fcd1afa9913ed 100644 (file)
@@ -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 
index 25b5fab36256f27b57376ebe51682b7722f636eb..5e2fa748c4f32e57bf7e29405b78b09905825005 100644 (file)
@@ -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