cvsuser 04/04/28 03:31:17
Modified: config/gen makefiles.pl
Log:
don't build docs for .*.ops
See attached patch which prevents the docs/Makefile from including
invalid targets that just happen to be editor temp files (emacs temp
files have a # character which really boggles make).
Courtesy of Aaron Sherman <[EMAIL PROTECTED]>
Revision Changes Path
1.31 +2 -2 parrot/config/gen/makefiles.pl
Index: makefiles.pl
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles.pl,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -w -r1.30 -r1.31
--- makefiles.pl 19 Apr 2004 11:31:44 -0000 1.30
+++ makefiles.pl 28 Apr 2004 10:31:17 -0000 1.31
@@ -1,6 +1,6 @@
#! perl -w
# Copyright: 2001-2003 The Perl Foundation. All Rights Reserved.
-# $Id: makefiles.pl,v 1.30 2004/04/19 11:31:44 leo Exp $
+# $Id: makefiles.pl,v 1.31 2004/04/28 10:31:17 leo Exp $
=head1 NAME
@@ -84,7 +84,7 @@
# set up docs/Makefile, partly based on the .ops in the root dir
opendir OPS, "ops" or die "opendir ops: $!";
- my @ops = sort grep { /\.ops$/ } readdir OPS;
+ my @ops = sort grep { !/^\./ && /\.ops$/ } readdir OPS;
closedir OPS;
my $pod = join " ", map { my $t = $_; $t =~ s/\.ops$/.pod/; "ops/$t" } @ops;