aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/Makefile.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-05-14 16:18:50 +0000
committerAndrew Cagney <cagney@redhat.com>2001-05-14 16:18:50 +0000
commit05a54c4ffa9bbbf820dd05cf1905a2c42c83e2e6 (patch)
treecd43f418d741177d688fd98ae1ce8dc7a03e1638 /gdb/doc/Makefile.in
parent4e75439ae5c103f6e123a54d5e2bde10382186b8 (diff)
downloadgdb-05a54c4ffa9bbbf820dd05cf1905a2c42c83e2e6.zip
gdb-05a54c4ffa9bbbf820dd05cf1905a2c42c83e2e6.tar.gz
gdb-05a54c4ffa9bbbf820dd05cf1905a2c42c83e2e6.tar.bz2
* Makefile.in (GDBvn.texi): Set GDBVN from ../version.in.
Diffstat (limited to 'gdb/doc/Makefile.in')
-rw-r--r--gdb/doc/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index 52e9b1a..d483330 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -215,9 +215,9 @@ refcard.dvi : refcard.tex $(REFEDITS)
refcard.ps : refcard.dvi
$(DVIPS) -t landscape -o $@ $?
-# File to record current GDB version number (copied from main dir Makefile.in)
-GDBvn.texi : ${gdbdir}/Makefile.in
- echo "@set GDBVN `sed <$(srcdir)/../Makefile.in -n 's/^VERSION *= *//p'`" > ./GDBvn.new
+# File to record current GDB version number (copied from main dir version.in)
+GDBvn.texi : ${gdbdir}/version.in
+ echo "@set GDBVN `head -1 $(srcdir)/../version.in`" > ./GDBvn.new
mv GDBvn.new GDBvn.texi
# Updated atomically