aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1992-10-24 17:23:26 +0000
committerTorbjorn Granlund <tege@gnu.org>1992-10-24 17:23:26 +0000
commit2c514f26733a275525a52995aa2f0070cc35f2e6 (patch)
tree35441d200ffdb7ef989171808f9ebadf98503e8c /gcc
parentc0138701eb9fb930028a53732ae6b7902d42ee3b (diff)
downloadgcc-2c514f26733a275525a52995aa2f0070cc35f2e6.zip
gcc-2c514f26733a275525a52995aa2f0070cc35f2e6.tar.gz
gcc-2c514f26733a275525a52995aa2f0070cc35f2e6.tar.bz2
(setting version variable): Prepend $(srcdir) to version.c.
From-SVN: r2591
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 374cfa5..b9052f4 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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 = .