diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-09-26 18:36:33 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-09-26 18:36:33 +0100 |
commit | b286197009ac308fc656630edad2ba5390660499 (patch) | |
tree | 6758c3b08a84ffb260bcab5473698652f73049ec /cpan/Devel-PPPort/apicheck_c.PL | |
parent | bd051ffa533cd11a03353dc0bf0c294bc68598f6 (diff) | |
download | perl-b286197009ac308fc656630edad2ba5390660499.tar.gz |
Move Devel::PPPort from ext/ to cpan/
Diffstat (limited to 'cpan/Devel-PPPort/apicheck_c.PL')
-rw-r--r-- | cpan/Devel-PPPort/apicheck_c.PL | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cpan/Devel-PPPort/apicheck_c.PL b/cpan/Devel-PPPort/apicheck_c.PL new file mode 100644 index 0000000000..e4d861e18a --- /dev/null +++ b/cpan/Devel-PPPort/apicheck_c.PL @@ -0,0 +1,29 @@ +################################################################################ +# +# apicheck_c.PL -- generate apicheck.c +# +################################################################################ +# +# $Revision: 11 $ +# $Author: mhx $ +# $Date: 2009/01/18 14:10:49 +0100 $ +# +################################################################################ +# +# Version 3.x, Copyright (C) 2004-2009, Marcus Holland-Moritz. +# Version 2.x, Copyright (C) 2001, Paul Marquess. +# Version 1.x, Copyright (C) 1999, Kenneth Albanowski. +# +# This program is free software; you can redistribute it and/or +# modify it under the same terms as Perl itself. +# +################################################################################ + +use strict; + +my $out = 'apicheck.c'; +my @api = map { /^--api=(\w+)$/ ? ($1) : () } @ARGV; +print "creating $out", (@api ? " (@api)" : ''), "\n"; +system $^X, 'parts/apicheck.pl', @api, $out + and die "couldn't create $out\n"; + |