cvsuser 03/08/29 10:38:23
Modified: config/gen/makefiles docs.in
Log:
Create the ops directory if it doesn't already exist. Patch courtesy of Andy
Dougherty
Revision Changes Path
1.7 +7 -1 parrot/config/gen/makefiles/docs.in
Index: docs.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/docs.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -r1.6 -r1.7
--- docs.in 23 Jul 2003 14:38:28 -0000 1.6
+++ docs.in 29 Aug 2003 17:38:23 -0000 1.7
@@ -1,9 +1,15 @@
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}
+
POD = ${pod}
-all: packfile-c.pod packfile-perl.pod $(POD)
+all: doc-prep packfile-c.pod packfile-perl.pod $(POD)
+
+doc-prep:
+ $(MKDIR) ops
packfile-c.pod: ../packfile.c
perldoc -u ../packfile.c > packfile-c.pod