Skip to content

Commit 8901fb8

Browse files
committed
eliminate redundant dependencies
1 parent 6fb4bb7 commit 8901fb8

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

lib/ExtUtils/MM_Any.pm

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ create_distdir :
874874
$(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
875875
-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
876876
877-
distdir : create_distdir %s %s
877+
distdir : %s %s
878878
$(NOECHO) $(NOOP)
879879
880880
MAKE_FRAG
@@ -1037,7 +1037,7 @@ sub dynamic {
10371037

10381038
my($self) = shift;
10391039
'
1040-
dynamic :: $(FIRST_MAKEFILE) config $(INST_BOOT) $(INST_DYNAMIC)
1040+
dynamic :: config $(INST_BOOT) $(INST_DYNAMIC)
10411041
$(NOECHO) $(NOOP)
10421042
';
10431043
}
@@ -1075,17 +1075,8 @@ all POD files in MAN1PODS and MAN3PODS.
10751075
sub manifypods_target {
10761076
my($self) = shift;
10771077

1078-
my $man1pods = '';
1079-
my $man3pods = '';
1080-
my $dependencies = '';
1081-
1082-
# populate manXpods & dependencies:
1083-
foreach my $name (sort keys %{$self->{MAN1PODS}}, sort keys %{$self->{MAN3PODS}}) {
1084-
$dependencies .= " \\\n\t$name";
1085-
}
1086-
10871078
my $manify = <<END;
1088-
manifypods : pure_all config $dependencies
1079+
manifypods : pure_all
10891080
END
10901081

10911082
my @man_cmds;
@@ -1608,7 +1599,7 @@ CODE
16081599
my @add_meta_to_distdir = map { $self->cd('$(DISTVNAME)', $_) } @add_meta;
16091600

16101601
return sprintf <<'MAKE', @add_meta_to_distdir;
1611-
distmeta : create_distdir metafile
1602+
distmeta : metafile
16121603
$(NOECHO) %s
16131604
$(NOECHO) %s
16141605

lib/ExtUtils/MM_Unix.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ MAP_PERLINC = @{$perlinc || []}
25792579
$(MAP_TARGET) :: $(MAKE_APERL_FILE)
25802580
$(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@
25812581
2582-
$(MAKE_APERL_FILE) : static $(FIRST_MAKEFILE) pm_to_blib
2582+
$(MAKE_APERL_FILE) : static pm_to_blib
25832583
$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
25842584
$(NOECHO) $(PERLRUNINST) \
25852585
Makefile.PL DIR="}, $dir, q{" \
@@ -3976,7 +3976,7 @@ sub top_targets {
39763976
push @m, $self->all_target, "\n" unless $self->{SKIPHASH}{'all'};
39773977

39783978
push @m, sprintf <<'EOF';
3979-
pure_all :: config pm_to_blib subdirs linkext
3979+
pure_all :: pm_to_blib subdirs linkext
39803980
$(NOECHO) $(NOOP)
39813981
39823982
subdirs :: $(MYEXTLIB)

0 commit comments

Comments
 (0)