Skip to content

Commit

Permalink
Rename PPPort_xs.PL to RealPPPort_xs.PL
Browse files Browse the repository at this point in the history
Fixes Devel-PPPort GH #21

To avoid confusion rename the template for RealPPPort.xs
file as RealPPPort_xs.PL so it's now clear what file
it generates.

(cherry picked from commit 0f14f67)
Signed-off-by: Nicolas R <atoomic@cpan.org>
  • Loading branch information
atoomic committed Jun 4, 2019
1 parent 6f44131 commit 3bfe1c6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -3291,7 +3291,7 @@ dist/Devel-PPPort/parts/todo/5024000 Devel::PPPort todo file
dist/Devel-PPPort/PPPort.xs Devel::PPPort dummy PPPort.xs
dist/Devel-PPPort/ppport_h.PL Devel::PPPort ppport.h writer
dist/Devel-PPPort/PPPort_pm.PL Devel::PPPort PPPort.pm writer
dist/Devel-PPPort/PPPort_xs.PL Devel::PPPort RealPPPort.xs writer
dist/Devel-PPPort/RealPPPort_xs.PL Devel::PPPort RealPPPort.xs writer
dist/Devel-PPPort/soak Devel::PPPort Test Harness to run under various Perls
dist/Devel-PPPort/t/call.t Devel::PPPort test file
dist/Devel-PPPort/t/cop.t Devel::PPPort test file
Expand Down
2 changes: 1 addition & 1 deletion Makefile.SH
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ catamount)
$spitshell >>$Makefile <<!GROK!THIS!
.PHONY: makeppport
makeppport: \$(MINIPERL_EXE) \$(CONFIGPM)
-@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \
-@for f in Makefile.PL PPPort_pm.PL RealPPPort_xs.PL ppport_h.PL; do \
(cd ext/Devel-PPPort && `pwd`/run.sh ../../$(MINIPERL_EXE) -I../../lib \$\$f); \
done
Expand Down
4 changes: 2 additions & 2 deletions dist/Devel-PPPort/HACKERS
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ hints, dependency information, XS code and tests.
The files are in a POD-like format that is parsed using the
functions in F<parts/ppptools.pl>.

The scripts F<PPPort_pm.PL>, F<PPPort_xs.PL> and F<mktests.PL> all
The scripts F<PPPort_pm.PL>, F<RealPPPort_xs.PL> and F<mktests.PL> all
use the information in F<parts/inc/> to generate the main module
F<PPPort.pm>, the XS code in F<RealPPPort.xs> and various test files
in F<t/>.
Expand Down Expand Up @@ -196,7 +196,7 @@ section.
The code required to add to PPPort.xs for testing the implementation.
This code goes into the C<=xshead>, C<=xsinit>, C<=xsmisc>, C<=xsboot>
and C<=xsubs> section. Have a look at the template at the bottom
of F<PPPort_xs.PL> to see where the code ends up.
of F<RealPPPort_xs.PL> to see where the code ends up.

=item *

Expand Down
4 changes: 2 additions & 2 deletions dist/Devel-PPPort/Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sub configure
my %PL_FILES = (
'ppport_h.PL' => 'ppport.h',
'PPPort_pm.PL' => 'PPPort.pm',
'PPPort_xs.PL' => 'RealPPPort.xs',
'RealPPPort_xs.PL' => 'RealPPPort.xs',
);
my @moreopts;

Expand Down Expand Up @@ -127,7 +127,7 @@ regen_pm:
$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) PPPort_pm.PL
regen_xs:
$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) PPPort_xs.PL
$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) RealPPPort_xs.PL
regen_tests:
$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) mktests.PL
Expand Down
2 changes: 1 addition & 1 deletion dist/Devel-PPPort/PPPort.xs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This is just a dummy file to let Configure know that Devel::PPPort
is an XS module. The real XS code is autogenerated from PPPort_xs.PL
is an XS module. The real XS code is autogenerated from RealPPPort_xs.PL
when this module is built and will go to RealPPPort.xs.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################################
#
# PPPort_xs.PL -- generate RealPPPort.xs
# RealPPPort_xs.PL -- generate RealPPPort.xs
#
################################################################################
#
Expand Down

0 comments on commit 3bfe1c6

Please sign in to comment.