From 2040ff96317be6b93ca459c44bfea5d775a18692 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 24 Jan 2005 12:05:21 +0000 Subject: First cut at online help under OS X. I just built the HTML version of the manual using Halibut (with one additional magic tag in the section), stuck it in the right part of the application bundle, referenced it in Info.plist, and added a Help menu. Everything else was automatic. Not bad! [originally from svn r5190] --- Recipe | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Recipe') diff --git a/Recipe b/Recipe index 36143a9..fa1a78f 100644 --- a/Recipe +++ b/Recipe @@ -40,6 +40,16 @@ pattern : [G] WINDOWS COMMON pattern # Mac OS X unified application containing all the puzzles. Puzzles : [MX] osx osx.icns osx-info.plist COMMON ALL +# For OS X, we must create the online help and include it in the +# application bundle.) +!begin osx +Puzzles_extra = Puzzles.app/Contents/Resources/Help/index.html +Puzzles.app/Contents/Resources/Help/index.html: \ + Puzzles.app/Contents/Resources/Help puzzles.but + halibut --html=$@ puzzles.but +Puzzles.app/Contents/Resources/Help: Puzzles.app/Contents/Resources + mkdir -p Puzzles.app/Contents/Resources/Help +!end # The `nullgame' source file is a largely blank one, which contains # all the correct function definitions to compile and link, but -- cgit v1.1