Skip to content

Commit 58052ac

Browse files
committed
various depend on config not Makefile directly
1 parent 0ac0561 commit 58052ac

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
@@ -762,7 +762,7 @@ print 'Warning: Makefile possibly out of date with $(VERSION_FROM)'
762762
CODE
763763

764764
return sprintf <<'MAKE_FRAG', $date_check;
765-
dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
765+
dist : $(DIST_DEFAULT) config
766766
$(NOECHO) %s
767767
MAKE_FRAG
768768
}
@@ -941,7 +941,7 @@ sub _xs_make_bs {
941941
# As Mkbootstrap might not write a file (if none is required)
942942
# we use touch to prevent make continually trying to remake it.
943943
# The DynaLoader only reads a non-empty file.
944-
%1$s.bs : $(FIRST_MAKEFILE) $(BOOTDEP)
944+
%1$s.bs : config $(BOOTDEP)
945945
$(NOECHO) $(ECHO) "Running Mkbootstrap for %1$s ($(BSLOADLIBS))"
946946
$(NOECHO) $(PERLRUN) \
947947
"-MExtUtils::Mkbootstrap" \
@@ -2489,7 +2489,7 @@ realclean ::
24892489
for my $from (@froms) {
24902490
# 1 2
24912491
push @m, _sprintf562 <<'MAKE', $from, $fromto{$from};
2492-
%2$s : %1$s $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
2492+
%2$s : %1$s config
24932493
$(NOECHO) $(RM_F) %2$s
24942494
$(CP) %1$s %2$s
24952495
$(FIXIN) %2$s
@@ -3170,7 +3170,7 @@ sub pm_to_blib {
31703170
my $self = shift;
31713171
my($autodir) = $self->catdir('$(INST_LIB)','auto');
31723172
my $r = q{
3173-
pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM)
3173+
pm_to_blib : config $(TO_INST_PM)
31743174
};
31753175

31763176
# VMS will swallow '' and PM_FILTER is often empty. So use q[]
@@ -3581,7 +3581,7 @@ sub static {
35813581
'
35823582
## $(INST_PM) has been moved to the all: target.
35833583
## It remains here for awhile to allow for old usage: "make static"
3584-
static :: $(FIRST_MAKEFILE) $(INST_STATIC)
3584+
static :: config $(INST_STATIC)
35853585
$(NOECHO) $(NOOP)
35863586
';
35873587
}

0 commit comments

Comments
 (0)