From: Roland Pesch Date: Fri, 13 Dec 1991 19:46:42 +0000 (+0000) Subject: Fix bug: gdbVN.m4 had stopped picking up version number. Now grabs it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f7458a40d3e7fe99bace8e2de7cd714109981c5;p=binutils-gdb.git Fix bug: gdbVN.m4 had stopped picking up version number. Now grabs it again. Verified for both Sun make and GNU make. --- diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index 1023a424158..80665139340 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -155,7 +155,7 @@ inc-hist.texi: ${READLINE_DIR}/doc/inc-hist.texi # File to record current GDB version number (copied from main dir Makefile.in) gdbVN.m4 : $(srcdir)/${gdbdir}/Makefile.in - VER=`sed <$(srcdir)/${gdbdir}/Makefile.in -n 's/VERSION = //p'` echo "_define__(<_GDB_VN__>,$$VER)" > $(unsubdir)/gdbVN.m4 + echo "_define__(<_GDB_VN__>,`sed <./../Makefile.in -n 's/VERSION = //p'`)" > ./gdbVN.m4 # GDB MANUAL: texinfo source, created by preprocessing w/m4 # If you want other configs in the makefile, add or modify instructions for