From b286197009ac308fc656630edad2ba5390660499 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sat, 26 Sep 2009 18:36:33 +0100 Subject: Move Devel::PPPort from ext/ to cpan/ --- cpan/Devel-PPPort/apicheck_c.PL | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 cpan/Devel-PPPort/apicheck_c.PL (limited to 'cpan/Devel-PPPort/apicheck_c.PL') 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"; + -- cgit v1.2.1