Skip to content

Commit 00ba5f6

Browse files
committed
various depend on config not Makefile directly
1 parent dd2d321 commit 00ba5f6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/ExtUtils/MM_Any.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ sub manifypods_target {
10761076
my($self) = shift;
10771077

10781078
my $manify = <<END;
1079-
manifypods : pure_all config
1079+
manifypods : pure_all
10801080
END
10811081

10821082
my @man_cmds;

lib/ExtUtils/MM_Unix.pm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ print 'Warning: Makefile possibly out of date with $(VERSION_FROM)'
758758
CODE
759759

760760
return sprintf <<'MAKE_FRAG', $date_check;
761-
dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
761+
dist : $(DIST_DEFAULT) config
762762
$(NOECHO) %s
763763
MAKE_FRAG
764764
}
@@ -937,7 +937,7 @@ sub _xs_make_bs {
937937
# As Mkbootstrap might not write a file (if none is required)
938938
# we use touch to prevent make continually trying to remake it.
939939
# The DynaLoader only reads a non-empty file.
940-
%1$s.bs : $(FIRST_MAKEFILE) $(BOOTDEP)
940+
%1$s.bs : config $(BOOTDEP)
941941
$(NOECHO) $(ECHO) "Running Mkbootstrap for %1$s ($(BSLOADLIBS))"
942942
$(NOECHO) $(PERLRUN) \
943943
"-MExtUtils::Mkbootstrap" \
@@ -2478,7 +2478,7 @@ realclean ::
24782478
for my $from (@froms) {
24792479
# 1 2
24802480
push @m, _sprintf562 <<'MAKE', $from, $fromto{$from};
2481-
%2$s : %1$s $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
2481+
%2$s : %1$s config
24822482
$(NOECHO) $(RM_F) %2$s
24832483
$(CP) %1$s %2$s
24842484
$(FIXIN) %2$s
@@ -3157,7 +3157,7 @@ sub pm_to_blib {
31573157
my $self = shift;
31583158
my($autodir) = $self->catdir('$(INST_LIB)','auto');
31593159
my $r = q{
3160-
pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM)
3160+
pm_to_blib : config $(TO_INST_PM)
31613161
};
31623162

31633163
# VMS will swallow '' and PM_FILTER is often empty. So use q[]
@@ -3568,7 +3568,7 @@ sub static {
35683568
'
35693569
## $(INST_PM) has been moved to the all: target.
35703570
## It remains here for awhile to allow for old usage: "make static"
3571-
static :: $(FIRST_MAKEFILE) $(INST_STATIC)
3571+
static :: config $(INST_STATIC)
35723572
$(NOECHO) $(NOOP)
35733573
';
35743574
}

0 commit comments

Comments
 (0)