summaryrefslogtreecommitdiff
path: root/jmake
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2008-05-28 11:19:25 +0000
committerrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2008-05-28 11:19:25 +0000
commit6ed168ff814db8f9bcaad6f2e218fb2bbacbdb1c (patch)
treed714e774455de2d2950794b5b3ebe9c9da43035e /jmake
parent5de075ee96dc6fc8b18e37a70af93fca66bbfa25 (diff)
SVN revision number is now automatically generated in "revision.h".
The old patchlevel information is no longer used, and <PATCHLEVEL> is deprecated in unit files, replaced by <REVISION>. git-svn-id: https://dist.svn.sourceforge.net/svnroot/dist/trunk/dist@25 190e5f8e-a817-0410-acf6-e9863daed9af
Diffstat (limited to 'jmake')
-rwxr-xr-xjmake/fixcpp.SH1
-rwxr-xr-xjmake/jmake.SH3
2 files changed, 3 insertions, 1 deletions
diff --git a/jmake/fixcpp.SH b/jmake/fixcpp.SH
index 4bbc69b..f3e8db5 100755
--- a/jmake/fixcpp.SH
+++ b/jmake/fixcpp.SH
@@ -55,6 +55,7 @@ $startperl
\$cpp = '$cpp_trad';
\$version = '$VERSION';
\$patchlevel = '$PATCHLEVEL';
+\$revision = '$REVISION';
!GROK!THIS!
$spitshell >>fixcpp <<'!NO!SUBS!'
diff --git a/jmake/jmake.SH b/jmake/jmake.SH
index bdb5de7..b6d1277 100755
--- a/jmake/jmake.SH
+++ b/jmake/jmake.SH
@@ -71,6 +71,7 @@ $startperl
\$cpp = '$cpp';
\$version = '$VERSION';
\$patchlevel = '$PATCHLEVEL';
+\$revision = '$REVISION';
!GROK!THIS!
$spitshell >>jmake <<'!NO!SUBS!'
@@ -305,7 +306,7 @@ line: for ($i = 0; $i <= $#makefile; $i++) {
# Process regular line to be generated in Makefile.SH
- s/<TAG>/[jmake $version PL$patchlevel]/;
+ s/<TAG>/[jmake $version-$revision]/;
# Lines starting with ?SYMBOL: (resp. %SYMBOL:) are to be processed
# only if SYMBOL is defined (resp. undefined).