summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2009-01-04 19:12:53 +0100
committerYves Orton <demerphq@gmail.com>2009-01-04 23:32:40 +0100
commit12d7e04de30e7bc6b13a6f47e4ed1a1365267e6c (patch)
treec1bde96daa7551432e02fb1e1740609200bb31a6 /Makefile.SH
parente9be352a567fab443a8c229b10a5050c9cf2d4cf (diff)
downloadperl-12d7e04de30e7bc6b13a6f47e4ed1a1365267e6c.tar.gz
this seems to work, still not using the perl version, but this works the way it would
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 9bf115c661..c6bebe0c5d 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -541,7 +541,8 @@ sperl.i: perl.c $(h)
.PHONY: all translators utilities make_patchnum
make_patchnum:
- sh $(shellflags) make_patchnum.sh
+ sh $(shellflags) make_patchnum.sh || $(MAKE) miniperl
+
git_version.h: stock_git_version.h
cp stock_git_version.h git_version.h
@@ -594,7 +595,7 @@ miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
perlmain.c: miniperlmain.c config.sh $(FIRSTMAKEFILE)
sh writemain $(DYNALOADER) $(static_ext) > perlmain.c
-perlmain$(OBJ_EXT): perlmain.c
+perlmain$(OBJ_EXT): perlmain.c git_version.h
$(CCCMD) $(PLDLFLAGS) $*.c
# The file ext.libs is a list of libraries that must be linked in