Hi Albrecht, >> there are two issues with the script here: >> 1. "echo -e" is not POSIX, so the generated Info.plist might (and indeed >> does!) contain all those "-e"s > > Oops - this works on Tiger. You have a later release I guess? Then Apple > *downgraded* echo to a less capable version!
Yes, I have 10.5. http://pubs.opengroup.org/onlinepubs/009695399/utilities/echo.html does not mention "-e". Of course bash's builtin echo still accepts "-e". >> 2. each make invocation adds another CFBundleDocumentTypes array to >> Info.plist > > Yes, that's true. Didn't see that as I always remove the bin folder before > re-building as the build process gets confused if I fix the bundle libs > before a re-build. > > Maybe the attached solution is the better one - just let cmake do the dirty > work. To this end, we have to supply a tweaked Info.plist template, which > already contains the file types and the signature. Apart from that, it's the > template from cmake 2.6. Then we can also omit the extra target (which was > misplaced, btw, as it was executed only if translation is enabled. This was also my first idea; I didn't like it because it is mixing generic template stuff with QLGT-specific stuff, but it is probably the easiest solution in the end ;-) -- Michael Thank you for not using Microsoft products ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
