Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 27-01-2013, 06:24   #1
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Help Manual Mac DMG

Dave,

your last patch doesn't work because there are also jpg and gif files in the images folder.

Quote:
@@ -723,6 +723,16 @@ SET_SOURCE_FILES_PROPERTIES(
data/doc/help_web.html PROPERTIES MACOSX_PACKAGE_LOCATION SharedSupport/doc )

SET_SOURCE_FILES_PROPERTIES(
+ data/doc/help_en_US.html PROPERTIES MACOSX_PACKAGE_LOCATION SharedSupport/doc )
+
+FILE(GLOB DOC_FILES "${CMAKE_SOURCE_DIR}/data/doc/OpenCPN User Manual_files/*.png")
+FOREACH (_currentDocFile ${DOC_FILES})
+ SET_SOURCE_FILES_PROPERTIES(
+ ${_currentDocFile}
+ PROPERTIES MACOSX_PACKAGE_LOCATION "SharedSupport/doc/OpenCPN User Manual_files" )
+ENDFOREACH (_currentDocFile )
+
+SET_SOURCE_FILES_PROPERTIES(
buildosx/opencpn.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources )

SET_SOURCE_FILES_PROPERTIES(
@@ -740,6 +750,8 @@ ADD_EXECUTABLE(${PACKAGE_NAME} MACOSX_BUNDLE
data/license.txt
${SOUND_FILES}
data/doc/help_web.html
+ data/doc/help_en_US.html
+ ${DOC_FILES}
buildosx/opencpn.icns
buildosx/MainMenu.xib
)
Why not rename the images folder name from "OpenCPN User Manual_files" simply to "images"? A folder name with spaces is not always the best choice.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 27-01-2013, 09:57   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Help Manual Mac DMG

Gerhard...

Thanks. I missed the other files in my quick look. And there is a stray dolphin ".directory" file in there as well. That should go.


We probably should rename the folder to drop the spaces. They can bite unexpectedly. I'll look into it.

Dave
__________________
bdbcat is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:03.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.