Skip to content
Browse files

add manpage

  • Loading branch information...
1 parent 0b1f1e4 commit fecfa81ee9798c9e511c621075a09edc789d0676 @fperrad fperrad committed
Showing with 37 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +32 −0 lolcode.pod
  3. +4 −0 setup.pir
View
1 .gitignore
@@ -1,4 +1,5 @@
MANIFEST
+man
src/gen_*.pir
*.pbc
View
32 lolcode.pod
@@ -0,0 +1,32 @@
+=head1 NAME
+
+parrot-lolcode - a LOLCODE compiler
+
+=head1 SYNOPSIS
+
+ $ parrot-lolcode
+ $ parrot-lolcode script.lol
+ $ parrot-lolcode --target=parse script.lol
+ PAST
+ POST
+ PIR
+
+=head1 DESCRIPTION
+
+See L<http://en.wikipedia.org/wiki/LOLCODE>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright 2008-2011, Parrot Foundation.
+
+This program is free software; you may redistribute it and/or modify
+it under the same terms as Parrot itself.
+
+=cut
+
+# Local Variables:
+# mode: pir
+# fill-column: 100
+# End:
+# vim: expandtab shiftwidth=4 ft=pir:
+
View
4 setup.pir
@@ -63,6 +63,10 @@ SOURCES
$P5['parrot-lolcode'] = 'lolcode.pbc'
$P0['installable_pbc'] = $P5
+ $P6 = new 'Hash'
+ $P6['man/man1/parrot-lolcode.1'] = 'lolcode.pod'
+ $P0['man_pod'] = $P6
+
# test
$S0 = get_parrot()
$S0 .= ' lolcode.pbc'

0 comments on commit fecfa81

Please sign in to comment.
Something went wrong with that request. Please try again.