aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-05-01 14:08:30 +0000
committerBruce Evans <bde@FreeBSD.org>1998-05-01 14:08:30 +0000
commit5da6b79d47731922975ca10bb8ce6fed44c3de7f (patch)
tree28af020679f71ab1e6e90eee76952b1a89498f79 /gnu/usr.bin
parente2b2b0768940d12c5987bb2a6e97eeb5c4e9dfb9 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin')
-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 896ba788b180..6d7778246c06 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>