+2001-05-12 Andrew Cagney <ac131313@redhat.com>
+
+ * Makefile.in (GDBvn.texi): Set GDBVN from ../version.in.
+
2001-05-10 Eli Zaretskii <eliz@is.elta.co.il>
* gdbint.texinfo (Clean Design and Portable Implementation):
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