This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Message-Id: <200203051337.NAA14686@tempest.npl.co.uk>
authorRobin Barker <RMBarker@cpan.org>
Tue, 5 Mar 2002 13:37:59 +0000 (13:37 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 5 Mar 2002 13:36:30 +0000 (13:36 +0000)
p4raw-id: //depot/perl@15043

ext/Devel/PPPort/Makefile.PL

index 0259a05..f4cf6f5 100644 (file)
@@ -5,7 +5,8 @@ WriteMakefile(
     DISTNAME   => "Devel-PPPort",
     VERSION_FROM=> 'PPPort.pm',
 
-    #PM                => {'PPPort.pm' => '$(INST_LIBDIR)/PPPort.pm'},
+    PL_FILES   => { 'ppport_h.PL' => 'ppport.h' },
+    'depend'   => { '$(OBJECT)' => '$(H_FILES)' },
     C          => [qw(module2.c module3.c)],
     H          => [qw(ppport.h)],
     OBJECT     => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)',
@@ -13,14 +14,3 @@ WriteMakefile(
     'dist'     => { COMPRESS=>"gzip", SUFFIX=>"gz" },
     'clean'    => { FILES => qw($(H_FILES))}
 );
-
-sub MY::postamble {
-    return <<"EOM";
-
-\$(H_FILES)  : ppport_h.PL
-       \$(PERLRUNINST) ppport_h.PL
-
-\$(OBJECT)   : \$(H_FILES)
-
-EOM
-}