[GRASS-SVN] r58715 - in grass/branches/releasebranch_6_4/macosx: . app pkg/resources

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 13 17:39:46 PST 2014


Author: kyngchaos
Date: 2014-01-13 17:39:46 -0800 (Mon, 13 Jan 2014)
New Revision: 58715

Modified:
   grass/branches/releasebranch_6_4/macosx/Makefile
   grass/branches/releasebranch_6_4/macosx/app/build_html_user_index.sh
   grass/branches/releasebranch_6_4/macosx/pkg/resources/postflight.in
Log:
install all OS X help links at startup

Modified: grass/branches/releasebranch_6_4/macosx/Makefile
===================================================================
--- grass/branches/releasebranch_6_4/macosx/Makefile	2014-01-14 01:33:31 UTC (rev 58714)
+++ grass/branches/releasebranch_6_4/macosx/Makefile	2014-01-14 01:39:46 UTC (rev 58715)
@@ -54,8 +54,6 @@
 real-install-macosx: PREFIX_TARGET = ${prefix}
 real-install-macosx: install-basic-macosx macosx-support-dir bundle-macosx
 	-cd ${GISBASE} ; tar cBf - modbuild | (cd ${MACOSX_SUPPDIR} ; tar xBf - ) 2>/dev/null
-	@# help file package
-	${LN_DIR} "${INST_DIR_TARGET}/docs/html" /Library/Documentation/Help/GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}
 
 # create a packagemaker installer package.
 # pretty much the same as install, but needs intermediate install location

Modified: grass/branches/releasebranch_6_4/macosx/app/build_html_user_index.sh
===================================================================
--- grass/branches/releasebranch_6_4/macosx/app/build_html_user_index.sh	2014-01-14 01:33:31 UTC (rev 58714)
+++ grass/branches/releasebranch_6_4/macosx/app/build_html_user_index.sh	2014-01-14 01:39:46 UTC (rev 58715)
@@ -182,7 +182,8 @@
 </html>" > $i.html
 done
 
-# add Help Viewer link in user docs folder
+# add Help Viewer links in user docs folder
 
 mkdir -p $HOME/Library/Documentation/Help/
-ln -sfh ../../GRASS/$GRASS_MMVER/Modules/docs/html $HOME/Library/Documentation/Help/GRASS-$GRASS_MMVER
+ln -sfh ../../GRASS/$GRASS_MMVER/Modules/docs/html $HOME/Library/Documentation/Help/GRASS-$GRASS_MMVER-addon
+ln -sfh $GISBASE/docs/html $HOME/Library/Documentation/Help/GRASS-$GRASS_MMVER

Modified: grass/branches/releasebranch_6_4/macosx/pkg/resources/postflight.in
===================================================================
--- grass/branches/releasebranch_6_4/macosx/pkg/resources/postflight.in	2014-01-14 01:33:31 UTC (rev 58714)
+++ grass/branches/releasebranch_6_4/macosx/pkg/resources/postflight.in	2014-01-14 01:39:46 UTC (rev 58715)
@@ -14,10 +14,6 @@
 mkdir -p "$MACOSX_SUPPDIR/Modules/etc"
 mkdir -p "$MACOSX_SUPPDIR/Modules/docs/html"
 
-# help
-
-/bin/ln -sfh "$INST_DIR/docs/html" "/Library/Documentation/Help/GRASS-$GRASS_VER"
-
 # modbuild
 
 cp -Rf "$PACKAGE_PATH/Contents/Resources/modbuild" "$MACOSX_SUPPDIR"



More information about the grass-commit mailing list