diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-29 18:14:46 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-29 18:14:46 +0200 |
commit | df83489c08d685b875ace566f8fe6395acb9bbac (patch) | |
tree | a063c2297d60849f37f06ee70a457b6476fe04e0 /NaturalDocs | |
parent | c806c6f1880bb1b27f9d88ece490fdfb6eaea1e1 (diff) |
Add NaturalDocs/README.ObjC.
Diffstat (limited to 'NaturalDocs')
-rw-r--r-- | NaturalDocs/README.ObjC | 35 |
1 files changed, 35 insertions, 0 deletions
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 |