cvsuser 03/11/03 10:00:21
Modified: config/gen makefiles.pl
Log:
Build again the documentation in docs/ops
The Great Move moved the *.ops files in the ops directory, but
config/gen/makefiles searched for them until now in .
Revision Changes Path
1.24 +5 -5 parrot/config/gen/makefiles.pl
Index: makefiles.pl
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles.pl,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -w -r1.23 -r1.24
--- makefiles.pl 23 Oct 2003 02:04:36 -0000 1.23
+++ makefiles.pl 3 Nov 2003 18:00:21 -0000 1.24
@@ -43,9 +43,9 @@
# set up docs/Makefile, partly based on the .ops in the root dir
- opendir ROOT, "." or die "opendir .: $!";
- my @ops = sort grep { -f $_ and /\.ops$/ } readdir ROOT;
- closedir ROOT;
+ opendir OPS, "ops" or die "opendir ops: $!";
+ my @ops = sort grep { /\.ops$/ } readdir OPS;
+ closedir OPS;
my $pod = join " ", map { my $t = $_; $t =~ s/\.ops$/.pod/; "ops/$t" } @ops;
@@ -62,8 +62,8 @@
my $pod = $ops;
$pod =~ s/\.ops$/.pod/;
print MAKEFILE <<"EOM";
-ops/$pod: ../$ops
- perldoc -u ../$ops > ops/$pod
+ops/$pod: ../ops/$ops
+ perldoc -u ../ops/$ops > ops/$pod
EOM
}