(setting version variable): Prepend $(srcdir) to version.c.
authorTorbjorn Granlund <tege@gnu.org>
Sat, 24 Oct 1992 17:23:26 +0000 (17:23 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Sat, 24 Oct 1992 17:23:26 +0000 (17:23 +0000)
From-SVN: r2591

gcc/Makefile.in

index 374cfa54df0a4336264cefa813ecafd259fb6ee7..b9052f472e2cdf8bda3cd34baf411cb062e9ec4c 100644 (file)
@@ -126,7 +126,7 @@ PREMADE_ATTRTAB =
 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/' < version.c`
+version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < $(srcdir)/version.c`
 
 # Directory where sources are, from where we are.
 srcdir = .