diff options
author | Richard Stallman <rms@gnu.org> | 1993-10-30 07:40:59 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-10-30 07:40:59 +0000 |
commit | 1cf94605cad05360c62a00a71210b2785c572819 (patch) | |
tree | ad1ca217d63bc7081e39e2aaf27adc67a6a3bb9a /gcc | |
parent | 7b1a0c14e9b6c109263665bd078ba744714621c8 (diff) | |
download | gcc-1cf94605cad05360c62a00a71210b2785c572819.zip gcc-1cf94605cad05360c62a00a71210b2785c572819.tar.gz gcc-1cf94605cad05360c62a00a71210b2785c572819.tar.bz2 |
(mainversion): New variable.
(distdir): Use mainversion when verifying gcc.texi has been updated.
From-SVN: r5941
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 69ca8c6..117e8be 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -135,6 +135,7 @@ target= ... `configure' substitutes actual target name here. xmake_file= ... `configure' substitutes actual x- file name here. tmake_file= ... `configure' substitutes actual t- file name here. version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < $(srcdir)/version.c` +mainversion=`sed -e 's/.*\"\([0-9]*\.[0-9]*\).*/\1/' < $(srcdir)/version.c` # Directory where sources are, from where we are. srcdir = . @@ -2009,7 +2010,7 @@ gcc.xtar: distdir distdir: doc $(srcdir)/INSTALL c-parse.y objc-parse.y cp-parse.y \ c-parse.c cp-parse.c objc-parse.c cexp.c - if grep -s "for version ${version}" gcc.texi; \ + if grep -s "for version ${mainversion}" gcc.texi; \ then true; \ else echo "You must update the version number in \`gcc.texi'"; sleep 10;\ fi |