40 Star 0 Fork 11

openKylin/perl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
regen.pl 869 Bytes
一键复制 编辑 原始数据 按行查看 历史
openKylinBot 提交于 2022-05-14 02:40 . Import Upstream version 5.30.0
#!/usr/bin/perl -w
#
# regen.pl - a wrapper that runs all *.pl scripts to autogenerate files
require 5.004; # keep this compatible, an old perl is all we may have before
# we build the new one
# The idea is to move the regen_headers target out of the Makefile so that
# it is possible to rebuild the headers before the Makefile is available.
# (and the Makefile is unavailable until after Configure is run, and we may
# wish to make a clean source tree but with current headers without running
# anything else.
use strict;
my $tap = $ARGV[0] && $ARGV[0] eq '--tap' ? '# ' : '';
foreach my $pl (map {chomp; "regen/$_"} <DATA>) {
my @command = ($^X, '-I.', $pl, @ARGV);
print "$tap@command\n";
system @command
and die "@command failed: $?"
}
__END__
mg_vtable.pl
opcode.pl
overload.pl
reentr.pl
regcomp.pl
warnings.pl
embed.pl
feature.pl
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openkylin/perl.git
git@gitee.com:openkylin/perl.git
openkylin
perl
perl
upstream

搜索帮助