Skip to content

Commit

Permalink
add manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Aug 1, 2011
1 parent 0b1f1e4 commit fecfa81
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
MANIFEST
man

src/gen_*.pir
*.pbc
Expand Down
32 changes: 32 additions & 0 deletions lolcode.pod
Original file line number Diff line number Diff line change
@@ -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:

4 changes: 4 additions & 0 deletions setup.pir
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit fecfa81

Please sign in to comment.