summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2010-10-10 15:43:47 +0200
committerSteffen Mueller <smueller@cpan.org>2010-10-10 15:55:11 +0200
commitaf00134636ffe4172cbffeaed3bbad802e58d8a0 (patch)
treef5ab1e5e8ec6035e6bf8c3e3f497b822e0ff8c1c
parent98f8176da90af0f0d21fac5f61e6d180814b57c9 (diff)
downloadperl-af00134636ffe4172cbffeaed3bbad802e58d8a0.tar.gz
Move regen scripts to regen/
Moves the various scripts that are called by regen.pl to a subdirectory to reduce clutter.
-rw-r--r--MANIFEST16
-rwxr-xr-xPorting/Maintainers.pl2
-rw-r--r--Porting/exec-bit.txt6
-rw-r--r--dist/Safe/t/safeops.t2
-rw-r--r--regen.pl2
-rwxr-xr-xregen/embed.pl (renamed from embed.pl)2
-rwxr-xr-xregen/keywords.pl (renamed from keywords.pl)2
-rwxr-xr-xregen/opcode.pl (renamed from opcode.pl)2
-rw-r--r--regen/overload.pl (renamed from overload.pl)2
-rw-r--r--regen/reentr.pl (renamed from reentr.pl)2
-rw-r--r--regen/regcomp.pl (renamed from regcomp.pl)2
-rw-r--r--regen/regen_lib.pl (renamed from regen_lib.pl)0
-rw-r--r--regen/warnings.pl (renamed from warnings.pl)2
13 files changed, 21 insertions, 21 deletions
diff --git a/MANIFEST b/MANIFEST
index 6ce960d1e9..8c10366199 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3042,7 +3042,6 @@ dquote_static.c Static functions for double quotish contexts
dump.c Debugging output
embed.fnc Database used by embed.pl
embed.h Maps symbols to safer names
-embed.pl Produces {embed,embedvar,proto}.h, global.sym
embedvar.h C namespace management
epoc/config.sh EPOC port config.sh template
epoc/createpkg.pl EPOC port generate PKG file
@@ -3549,7 +3548,6 @@ INTERN.h Included before domestic .h files
intrpvar.h Variables held in each interpreter instance
iperlsys.h Perl's interface to the system
keywords.h The keyword numbers
-keywords.pl Program to write keywords.h
l1_char_class_tab.h 256 word bit table of character classes (for handy.h)
lib/abbrev.pl An abbreviation table builder
lib/AnyDBM_File.pm Perl module to emulate dbmopen
@@ -3918,7 +3916,6 @@ nostdio.h Cause compile error on stdio calls
numeric.c Miscellaneous numeric conversion routines
op.c Opcode syntax tree code
opcode.h Automatically generated opcode header
-opcode.pl Opcode header generator
op.h Opcode syntax tree header
opnames.h Automatically generated opcode header
op_reg_common.h Common parts of op.h, regexp.h header
@@ -3983,7 +3980,6 @@ os2/perlrexx.c Support perl interpreter embedded in REXX
os2/perlrexx.cmd Test perl interpreter embedded in REXX
overload.c generated overload enum (public)
overload.h generated overload name table (implementation)
-overload.pl generate overload.h
pad.c Scratchpad functions
pad.h Scratchpad headers
parser.h parser object header
@@ -4282,15 +4278,20 @@ README.vos Perl notes for Stratus VOS
README.win32 Perl notes for Windows
reentr.c Reentrant interfaces
reentr.h Reentrant interfaces
-reentr.pl Reentrant interfaces
regcharclass.h Generated by Porting/regcharclass.pl
regcomp.c Regular expression compiler
regcomp.h Private declarations for above
-regcomp.pl Builder of regnodes.h
regcomp.sym Data for regnodes.h
-regen_lib.pl Common file routines for generator scripts
+regen/embed.pl Produces {embed,embedvar,proto}.h, global.sym
+regen/keywords.pl Program to write keywords.h
+regen/opcode.pl Opcode header generator
+regen/overload.pl generate overload.h
regen_perly.pl generate perly.{act,h,tab} from perly.y
regen.pl Run all scripts that (re)generate files
+regen/reentr.pl Reentrant interfaces
+regen/regcomp.pl Builder of regnodes.h
+regen/regen_lib.pl Common file routines for generator scripts
+regen/warnings.pl Program to write warnings.h and lib/warnings.pm
regexec.c Regular expression evaluator
regexp.h Public declarations for the above
regnodes.h Description of nodes of RE engine
@@ -4876,7 +4877,6 @@ vos/syslog.h syslog header for VOS
vos/vos.c VOS emulations for missing POSIX functions
vos/vosish.h VOS-specific header file
warnings.h The warning numbers
-warnings.pl Program to write warnings.h and lib/warnings.pm
win32/bin/exetype.pl Set executable type to CONSOLE or WINDOWS
win32/bin/perlglob.pl Win32 globbing
win32/bin/pl2bat.pl wrap perl scripts into batch files
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index 73b02bb7d9..93a21d19df 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -1546,7 +1546,7 @@ use File::Glob qw(:case);
'warnings' =>
{
'MAINTAINER' => 'pmqs',
- 'FILES' => q[warnings.pl
+ 'FILES' => q[regen/warnings.pl
lib/warnings.{pm,t}
lib/warnings
t/lib/warnings
diff --git a/Porting/exec-bit.txt b/Porting/exec-bit.txt
index 269fb94ec0..047b4bcb22 100644
--- a/Porting/exec-bit.txt
+++ b/Porting/exec-bit.txt
@@ -12,14 +12,14 @@ configure.gnu
config_h.SH
cpan/Test-Harness/t/source_tests/source.sh
cpan/Test-Harness/t/source_tests/source_args.sh
-embed.pl
installperl
installman
-keywords.pl
makeaperl.SH
makedepend.SH
myconfig.SH
-opcode.pl
+regen/embed.pl
+regen/keywords.pl
+regen/opcode.pl
runtests.SH
writemain.SH
t/TEST
diff --git a/dist/Safe/t/safeops.t b/dist/Safe/t/safeops.t
index bd8217d8dc..7221c21da2 100644
--- a/dist/Safe/t/safeops.t
+++ b/dist/Safe/t/safeops.t
@@ -28,7 +28,7 @@ while (<DATA>) {
$code{$1} = $2;
}
-open my $fh, '<', '../../opcode.pl' or die "Can't open opcode.pl: $!";
+open my $fh, '<', '../../regen/opcode.pl' or die "Can't open opcode.pl: $!";
while (<$fh>) {
last if /^__END__/;
}
diff --git a/regen.pl b/regen.pl
index f103b0abcf..4f3be80d3a 100644
--- a/regen.pl
+++ b/regen.pl
@@ -27,7 +27,7 @@ embed.pl
);
my $tap = $ARGV[0] && $ARGV[0] eq '--tap' ? '# ' : '';
-foreach my $pl (@scripts) {
+foreach my $pl (map {"regen/$_"} @scripts) {
my @command = ($^X, $pl, @ARGV);
print "$tap@command\n";
system @command;
diff --git a/embed.pl b/regen/embed.pl
index 75b06ed38b..3aae2cd850 100755
--- a/embed.pl
+++ b/regen/embed.pl
@@ -27,7 +27,7 @@ use strict;
BEGIN {
# Get function prototypes
- require 'regen_lib.pl';
+ require 'regen/regen_lib.pl';
}
my $SPLINT = 0; # Turn true for experimental splint support http://www.splint.org
diff --git a/keywords.pl b/regen/keywords.pl
index 7ce010e609..8a7904dc92 100755
--- a/keywords.pl
+++ b/regen/keywords.pl
@@ -12,7 +12,7 @@
use strict;
-require 'regen_lib.pl';
+require 'regen/regen_lib.pl';
my $kw = safer_open("keywords.h-new");
select $kw;
diff --git a/opcode.pl b/regen/opcode.pl
index 46bfd954c4..a2d3283492 100755
--- a/opcode.pl
+++ b/regen/opcode.pl
@@ -17,7 +17,7 @@ use strict;
BEGIN {
# Get function prototypes
- require 'regen_lib.pl';
+ require 'regen/regen_lib.pl';
}
my $opcode_new = 'opcode.h-new';
diff --git a/overload.pl b/regen/overload.pl
index 1c9a0b3bce..5e145318e5 100644
--- a/overload.pl
+++ b/regen/overload.pl
@@ -16,7 +16,7 @@
BEGIN {
# Get function prototypes
- require 'regen_lib.pl';
+ require 'regen/regen_lib.pl';
}
use strict;
diff --git a/reentr.pl b/regen/reentr.pl
index b90c61dcfc..b43229663f 100644
--- a/reentr.pl
+++ b/regen/reentr.pl
@@ -18,7 +18,7 @@
BEGIN {
# Get function prototypes
- require 'regen_lib.pl';
+ require 'regen/regen_lib.pl';
}
use strict;
diff --git a/regcomp.pl b/regen/regcomp.pl
index f652f1c286..45ec9ac4e3 100644
--- a/regcomp.pl
+++ b/regen/regcomp.pl
@@ -15,7 +15,7 @@
BEGIN {
# Get function prototypes
- require 'regen_lib.pl';
+ require 'regen/regen_lib.pl';
}
#use Fatal qw(open close rename chmod unlink);
use strict;
diff --git a/regen_lib.pl b/regen/regen_lib.pl
index 9008629998..9008629998 100644
--- a/regen_lib.pl
+++ b/regen/regen_lib.pl
diff --git a/warnings.pl b/regen/warnings.pl
index c201734886..dfc8c6ccd4 100644
--- a/warnings.pl
+++ b/regen/warnings.pl
@@ -16,7 +16,7 @@
$VERSION = '1.02_03';
BEGIN {
- require 'regen_lib.pl';
+ require 'regen/regen_lib.pl';
push @INC, './lib';
}
use strict ;