Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@gnu.org>2001-06-13 23:00:22 +0400
committerAndrew Cagney <cagney@gnu.org>2001-06-13 23:00:22 +0400
commitc683e18af563a7ee50a7503c53c3d7b5c0bec1d2 (patch)
tree4947b2225d4796d7b8b07fb6fb53c7d3a2072db1 /Makefile.in
parent340d35ad0b7889a363da3a133cb7289bed29d07d (diff)
Handle GDB's gdb/version.in.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 1c83f5c12..8b442f047 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1759,8 +1759,12 @@ SUPPORT_FILES = list-of-support-files-for-tool-in-question
# as VER="$(VER)"
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'; \
- 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'; \
+ else \
+ echo VERSION; \
fi`
PACKAGE = $(TOOL)