From: Yves Orton Date: Sun, 4 Jan 2009 16:39:25 +0000 (+0100) Subject: doesnt quite work yet, but provisional steps towards using miniperl to do the git... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e9be352a567fab443a8c229b10a5050c9cf2d4cf;p=p5sagit%2Fp5-mst-13.2.git doesnt quite work yet, but provisional steps towards using miniperl to do the git stuff --- diff --git a/MANIFEST b/MANIFEST index 2faee4f..3a0fae4 100644 --- a/MANIFEST +++ b/MANIFEST @@ -3617,6 +3617,7 @@ regnodes.h Description of nodes of RE engine run.c The interpreter loop scope.c Scope entry and exit code scope.h Scope entry and exit header +stock_git_version.h Empty git_version.h used when there is no miniperl around sv.c Scalar value code sv.h Scalar value header symbian/bld.inf Symbian sample app build config diff --git a/Makefile.SH b/Makefile.SH index ad04fe5..9bf115c 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -525,7 +525,7 @@ splintfiles = $(c1) .c.s: $(CCCMDSRC) -S $*.c -all: $(FIRSTMAKEFILE) make_patchnum miniperl$(EXE_EXT) miniperl extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make +all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) miniperl make_patchnum extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make @echo " "; @echo " Everything is up to date. Type '$(MAKE) test' to run test suite." @@ -543,8 +543,8 @@ sperl.i: perl.c $(h) make_patchnum: sh $(shellflags) make_patchnum.sh -git_version.h: - sh $(shellflags) make_patchnum.sh +git_version.h: stock_git_version.h + cp stock_git_version.h git_version.h # make sure that we recompile perl.c if the git version changes perl$(OBJ_EXT): git_version.h diff --git a/make_patchnum.sh b/make_patchnum.sh index 9a8982f..e770f75 100644 --- a/make_patchnum.sh +++ b/make_patchnum.sh @@ -74,7 +74,7 @@ new_header=`cat <