Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/bin/gdb fix and re-enable the texinfo targets



details:   https://anonhg.NetBSD.org/src/rev/34108a159f30
branches:  trunk
changeset: 770250:34108a159f30
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 09 18:17:53 2011 +0000

description:
fix and re-enable the texinfo targets

diffstat:

 external/gpl3/gdb/bin/gdb/Makefile |  18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r ca6fed6b1a16 -r 34108a159f30 external/gpl3/gdb/bin/gdb/Makefile
--- a/external/gpl3/gdb/bin/gdb/Makefile        Sun Oct 09 17:41:06 2011 +0000
+++ b/external/gpl3/gdb/bin/gdb/Makefile        Sun Oct 09 18:17:53 2011 +0000
@@ -1,5 +1,6 @@
-#      $NetBSD: Makefile,v 1.2 2011/10/02 18:15:23 christos Exp $
+#      $NetBSD: Makefile,v 1.3 2011/10/09 18:17:53 christos Exp $
 
+.include <bsd.own.mk>
 .include "../Makefile.inc"
 
 GDBARCHDIR=${.CURDIR}/../../lib/libgdb/arch/${MACHINE_ARCH}
@@ -19,9 +20,18 @@
                -I${DIST}/include \
                ${GCPPFLAGS:M-D*}
 
-#TEXINFO=      gdb.texinfo gdbint.texinfo stabs.texinfo
-#INFOFLAGS=    -I${DIST}/gdb/doc -I${DIST}/gdb/mi \
-#              -I${DIST}/readline/doc -I${.CURDIR}/..
+TEXINFO=       gdb.texinfo gdbint.texinfo stabs.texinfo
+INFOFLAGS=     -I${DIST}/gdb/doc -I${DIST}/gdb/mi \
+               -I${DIST}/readline/doc -I${.CURDIR}/.. -DGDBN=${GDBN}
+
+GDBvn.texi: ${DIST}/gdb/version.in
+       echo "@set GDBVN $$(${TOOL_CAT} ${.ALLSRC})" > ${.TARGET}
+
+gdb-cfg.texi: ${DIST}/gdb/doc/all-cfg.texi
+       ${TOOL_CAT} ${.ALLSRC} > ${.TARGET}
+
+CLEANFILES+= GDBvn.texi gdb-cfg.texi
+gdb.info: gdb-cfg.texi GDBvn.texi
 
 .include "../../Makefile.inc"
 .include <bsd.info.mk>



Home | Main Index | Thread Index | Old Index