Awk for version number.

This commit is contained in:
K. Richard Pixley 1991-06-12 21:34:45 +00:00
parent 7187e60cbe
commit 5d63a6687f
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ CCLIBFLAGS = -O
# Version of ar to use when compiling gnulib.
OLDAR = ar
version=`$(srcdir)/../gcc$(subdir)/gcc -dumpversion`
version=`awk '{print substr ($$4, 2, length ($$4) - 3); }' $(srcdir)/version.c`
# Directory where sources are, from where we are.
srcdir = .

View File

@ -8,7 +8,7 @@ srcdir = .
destdir = /usr/local
version=`$(srcdir)/../gcc$(subdir)/gcc -dumpversion`
version=`awk '{print substr ($$4, 2, length ($$4) - 3); }' $(srcdir)/../gcc/version.c`
prefix = $(destdir)
bindir = $(prefix)/bin
libdir = $(prefix)/lib