From: Andrew Cagney Date: Mon, 14 May 2001 16:18:50 +0000 (+0000) Subject: * Makefile.in (GDBvn.texi): Set GDBVN from ../version.in. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05a54c4ffa9bbbf820dd05cf1905a2c42c83e2e6;p=binutils-gdb.git * Makefile.in (GDBvn.texi): Set GDBVN from ../version.in. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 3a78b2ed5b0..2d85f4005d2 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2001-05-12 Andrew Cagney + + * Makefile.in (GDBvn.texi): Set GDBVN from ../version.in. + 2001-05-10 Eli Zaretskii * gdbint.texinfo (Clean Design and Portable Implementation): diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index 52e9b1a8c19..d483330a5c6 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