diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-01-12 15:01:10 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-01-12 15:03:24 +0000 |
commit | 1ec755da0d4d3efe15779aac026b2b5752e3e4db (patch) | |
tree | 64ac8519891017cb0865c67776b55c975859f290 | |
parent | 85d5bcfac34dc3213dcb159ca1db2858d85cb746 (diff) | |
download | perl-1ec755da0d4d3efe15779aac026b2b5752e3e4db.tar.gz |
make_patchnum requires miniperl$(EXE_EXT) to run, so it needs to depend on it.
Also, make_patchnum had not been part of the prerequisites of the common
targets 'perl' or 'test', only 'all', so often it was not getting run. Add it
as a prerequisite of perl$(EXT_EXE), so that it is run on 'make perl' or
'make test'.
-rw-r--r-- | Makefile.SH | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH index ce77c7a087..38b1c253b4 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -540,7 +540,7 @@ sperl.i: perl.c $(h) .PHONY: all translators utilities make_patchnum -make_patchnum: +make_patchnum: miniperl$(EXE_EXT) $(LDLIBPTH) $(RUN) ./miniperl -Ilib make_patchnum.pl || $(MAKE) miniperl git_version.h: stock_git_version.h @@ -806,7 +806,7 @@ miniperl$(EXE_EXT): $& miniperlmain$(OBJ_EXT) $(obj) opmini$(OBJ_EXT) $spitshell >>$Makefile <<'!NO!SUBS!' -perl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT) +perl$(EXE_EXT): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT) make_patchnum -@rm -f miniperl.xok $(SHRPENV) $(LDLIBPTH) $(CC) -o perl$(PERL_SUFFIX) $(PERL_PROFILE_LDFLAGS) $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs) |