From df83489c08d685b875ace566f8fe6395acb9bbac Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Fri, 29 Aug 2008 18:14:46 +0200 Subject: Add NaturalDocs/README.ObjC. --- NaturalDocs/README.ObjC | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 NaturalDocs/README.ObjC diff --git a/NaturalDocs/README.ObjC b/NaturalDocs/README.ObjC new file mode 100644 index 0000000..0101d0b --- /dev/null +++ b/NaturalDocs/README.ObjC @@ -0,0 +1,35 @@ +In order to use the ObjC.pm module, follow these steps: + + 1. Find the Natural Docs directory. On my system, it's + /usr/share/perl5/naturaldocs. I will call this directory + ${NATURAL_DOCS} from now on. + + 2. Copy ObjC.pm to ${NATURAL_DOCS}/Modules/NaturalDocs/Languages/. + + 3. Open ${NATURAL_DOCS}/Modules/NaturalDocs/Languages.pm and look for a + bunch of lines starting with “use NaturalDocs::Languages::”. On my + system, these lines are very much at the beginning of the file. + + 4. When you've found the spot, insert the following line somewhere + around there: + + use NaturalDocs::Languages::ObjC; + + 5. You may want to add the following lines to your Languages.txt: + + Language: Objective-C + + Extension: h m mm + Shebang String: objc + Ignore Prefix in Index: MLK + - + Line Comment: // + Block Comment: /* */ + Package Separator: :: + Class Prototype Enders: + - @end + Function Prototype Enders: ; { + Variable Prototype Enders: ; = + Perl Package: NaturalDocs::Languages::ObjC + +That's it. Have fun! + +Matthias -- cgit v1.2.3