Author: kjs
Date: Fri Apr 6 11:50:32 2007
New Revision: 18015
Modified:
trunk/config/gen/makefiles/pirc.in
Log:
compilers/pirc:
* change pirc.in; add a "docs" target, to generate html docs from parser.c,
lexer.c and design.pod. (referencing perl.css at parrotcode.org)
Modified: trunk/config/gen/makefiles/pirc.in
==============================================================================
--- trunk/config/gen/makefiles/pirc.in (original)
+++ trunk/config/gen/makefiles/pirc.in Fri Apr 6 11:50:32 2007
@@ -79,6 +79,10 @@
@echo ""
@echo " all: pirc"
@echo " This is the
default."
+ @echo ""
+ @echo "Documentation:"
+ @echo " docs: Generate html documentation in doc
directory"
+ @echo ""
@echo "Testing:"
@echo " test: Run the test suite."
@echo " testclean: Clean up test results."
@@ -93,6 +97,11 @@
@echo ""
+docs: src/pirlexer.c src/pirparser.c
+ pod2html --css=http://www.parrotcode.org/css/perl.css src/pirlexer.c >
doc/pirlexer.html
+ pod2html --css=http://www.parrotcode.org/css/perl.css src/pirparser.c >
doc/pirparser.html
+ pod2html --css=http://www.parrotcode.org/css/perl.css doc/design.pod >
doc/design.html
+
test: all
cd t && prove && cd ..