Handle GDB's gdb/version.in.
This commit is contained in:
parent
31889e007b
commit
31a8b63419
@ -1,3 +1,8 @@
|
|||||||
|
Fri Jun 8 11:14:02 2001 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.in (VER): When present, extract the version number from
|
||||||
|
the file version.in.
|
||||||
|
|
||||||
2001-06-08 Alexandre Oliva <aoliva@redhat.com>, Jeff Sturm <jsturm@one-point.com>
|
2001-06-08 Alexandre Oliva <aoliva@redhat.com>, Jeff Sturm <jsturm@one-point.com>
|
||||||
|
|
||||||
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
|
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
|
||||||
|
@ -1759,8 +1759,12 @@ SUPPORT_FILES = list-of-support-files-for-tool-in-question
|
|||||||
# as VER="$(VER)"
|
# as VER="$(VER)"
|
||||||
VER = ` if grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
|
VER = ` if grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
|
||||||
sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
|
sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
|
||||||
else \
|
elif test -f $(TOOL)/version.in; then \
|
||||||
|
head -1 $(TOOL)/version.in; \
|
||||||
|
elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \
|
||||||
sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \
|
sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \
|
||||||
|
else \
|
||||||
|
echo VERSION; \
|
||||||
fi`
|
fi`
|
||||||
PACKAGE = $(TOOL)
|
PACKAGE = $(TOOL)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user