summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-01 14:08:30 +0000
committerbde <bde@FreeBSD.org>1998-05-01 14:08:30 +0000
commite04d2296e3d34f4460658327268fac780c0e1a2f (patch)
tree741c23c2928bc43763d6bfe6c353b77da226412b /gnu
parent4e507d65e9eb1d9ed70d30412d60c42e0765b17c (diff)
downloadFreeBSD-src-e04d2296e3d34f4460658327268fac780c0e1a2f.zip
FreeBSD-src-e04d2296e3d34f4460658327268fac780c0e1a2f.tar.gz
Fixed dependencies.
Fixed stale near-copy of contrib/libreadline/doc/hsuser.texinfo. Patch it at build ntime, and only keep the patch for it here. Don't keep a copy of contrib/gdb/gdb/doc/all-cfg.texi here. Link to it at build time.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/doc/Makefile20
1 files changed, 17 insertions, 3 deletions
diff --git a/gnu/usr.bin/gdb/doc/Makefile b/gnu/usr.bin/gdb/doc/Makefile
index 896ba78..6d77782 100644
--- a/gnu/usr.bin/gdb/doc/Makefile
+++ b/gnu/usr.bin/gdb/doc/Makefile
@@ -1,10 +1,24 @@
-INFO = gdb gdbint stabs annotate
+# $Id$
-SRCDIR= ${.CURDIR}/../../../../contrib/gdb/gdb/doc
+INFO= annotate gdb gdbint stabs
+
+CONTRIBDIR= ${.CURDIR}/../../../../contrib
+SRCDIR= ${CONTRIBDIR}/gdb/gdb/doc
+MAKEINFOFLAGS+= -I ${CONTRIBDIR}/libreadline/doc
+CLEANFILES= gdb-cfg.texi inc-hist.texi inc-hist.texi.orig
INFOSECTION= "Gdb Documentation"
INFOENTRY_annotate= "* GDB annotation: (annotate). Annotations for the GNU Debugger (GDB)."
-MAKEINFOFLAGS += -I ${.CURDIR}/../../../../contrib/libreadline/doc
+gdb.info: gdb.texinfo gdb-cfg.texi GDBvn.texi remote.texi \
+ rluser.texinfo inc-hist.texi
+
+gdb-cfg.texi: all-cfg.texi
+ ln -sf ${.ALLSRC} ${.TARGET}
+
+.PATH: ${CONTRIBDIR}/libreadline/doc
+inc-hist.texi: hsuser.texinfo inc-hist.diff
+ cp ${.ALLSRC:M*.texinfo} ${.TARGET}
+ patch -b .orig < ${.ALLSRC:M*.diff}
.include <bsd.info.mk>
OpenPOWER on IntegriCloud