cvsuser 04/12/05 07:47:10
Modified: config/gen/makefiles docs.in
Log:
[perl #32868] [PATCH] target 'help' in 'parrot/docs/Makefile'
this patch adds a target 'help' to 'parrot/docs/Makefile'. A list of
available targets should be printed.
Courtesy of Bernhard Schmalhofer <[EMAIL PROTECTED]>
Revision Changes Path
1.12 +26 -3 parrot/config/gen/makefiles/docs.in
Index: docs.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/docs.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- docs.in 3 Mar 2004 11:16:41 -0000 1.11
+++ docs.in 5 Dec 2004 15:47:10 -0000 1.12
@@ -1,13 +1,38 @@
+# Copyright: 2001-2004 The Perl Foundation. All Rights Reserved.
+# $Id: docs.in,v 1.12 2004/12/05 15:47:10 coke Exp $
+
+#
+# Setup of some commands
+#
+
PERL = ${perl}
RM_F = ${rm_f}
-
# Make directory; do not die if dir exists.
MKDIR = $(PERL) -e ${PQ}-d or mkdir $$_,0777 or die foreach @ARGV${PQ}
+# long list of .pod files
POD = ${pod}
+#
+# Targets
+#
+
+# The default target
all: doc-prep packfile-c.pod $(POD)
+# This is a listing of all targets, that are meant to be called by users
+# Most of them are proxied in the root makefile parrot/Makefile
+help :
+ @echo ""
+ @echo "Following targets are available to the user:"
+ @echo ""
+ @echo " all: Generate documentation from .pod files or
from the sources."
+ @echo " This is the default target."
+ @echo " clean: Remove the generated documentation."
+ @echo " html: Generate HTML documentation."
+ @echo " html-clean: Remove the generated HTML documentation."
+ @echo ""
+
doc-prep:
$(MKDIR) ops
@@ -22,5 +47,3 @@
html-clean:
$(PERL) -I../lib -MParrot::Distribution -e
"Parrot::Distribution->new->delete_html_docs"
-
-