1 # Copyright (C) 2001-2006, The Perl Foundation.
4 # Setup of some commands
11 # long list of .pod files
19 all: doc-prep packfile-c.pod $(POD)
21 # This is a listing of all targets, that are meant to be called by users
22 # Most of them are proxied in the root makefile parrot/Makefile
25 @echo "Following targets are available to the user:"
27 @echo " all: Generate documentation from .pod files or from the sources."
28 @echo " This is the default target."
29 @echo " clean: Remove the generated documentation."
30 @echo " html: Generate HTML documentation."
31 @echo " html-clean: Remove the generated HTML documentation."
37 packfile-c.pod: ../src/packfile.c
38 #CONDITIONED_LINE(new_perldoc): perldoc -ud packfile-c.pod ../src/packfile.c
39 #INVERSE_CONDITIONED_LINE(new_perldoc): perldoc -u ../src/packfile.c > packfile-c.pod
42 $(RM_F) packfile-c.pod $(POD)
45 $(PERL) -I../lib ../tools/docs/write_docs.pl --silent
48 $(PERL) -I../lib -MParrot::Distribution -e "Parrot::Distribution->new()->delete_html_docs()"