mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 17:24:23 +01:00
5da6b79d47
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.
25 lines
680 B
Makefile
25 lines
680 B
Makefile
# $Id$
|
|
|
|
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)."
|
|
|
|
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>
|