head	1.15;
access;
symbols
	RELENG_8_4:1.15.0.2
	RELENG_9_1_0_RELEASE:1.14.2.1.4.2
	RELENG_9_1:1.14.2.1.0.4
	RELENG_9_1_BP:1.14.2.1
	RELENG_8_3_0_RELEASE:1.13.22.1.8.1
	RELENG_8_3:1.13.22.1.0.8
	RELENG_8_3_BP:1.13.22.1
	RELENG_9_0_0_RELEASE:1.14.2.1.2.1
	RELENG_9_0:1.14.2.1.0.2
	RELENG_9_0_BP:1.14.2.1
	RELENG_9:1.14.0.2
	RELENG_9_BP:1.14
	RELENG_7_4_0_RELEASE:1.13.26.1
	RELENG_8_2_0_RELEASE:1.13.22.1.6.1
	RELENG_7_4:1.13.0.26
	RELENG_7_4_BP:1.13
	RELENG_8_2:1.13.22.1.0.6
	RELENG_8_2_BP:1.13.22.1
	RELENG_8_1_0_RELEASE:1.13.22.1.4.1
	RELENG_8_1:1.13.22.1.0.4
	RELENG_8_1_BP:1.13.22.1
	RELENG_7_3_0_RELEASE:1.13.24.1
	RELENG_7_3:1.13.0.24
	RELENG_7_3_BP:1.13
	RELENG_8_0_0_RELEASE:1.13.22.1.2.1
	RELENG_8_0:1.13.22.1.0.2
	RELENG_8_0_BP:1.13.22.1
	RELENG_8:1.13.0.22
	RELENG_8_BP:1.13
	RELENG_7_2_0_RELEASE:1.13.20.1
	RELENG_7_2:1.13.0.20
	RELENG_7_2_BP:1.13
	RELENG_7_1_0_RELEASE:1.13.18.1
	RELENG_6_4_0_RELEASE:1.13.16.1
	RELENG_7_1:1.13.0.18
	RELENG_7_1_BP:1.13
	RELENG_6_4:1.13.0.16
	RELENG_6_4_BP:1.13
	RELENG_7_0_0_RELEASE:1.13
	RELENG_6_3_0_RELEASE:1.13
	RELENG_7_0:1.13.0.14
	RELENG_7_0_BP:1.13
	RELENG_6_3:1.13.0.12
	RELENG_6_3_BP:1.13
	RELENG_7:1.13.0.10
	RELENG_7_BP:1.13
	RELENG_6_2_0_RELEASE:1.13
	RELENG_6_2:1.13.0.8
	RELENG_6_2_BP:1.13
	RELENG_5_5_0_RELEASE:1.12
	RELENG_5_5:1.12.0.8
	RELENG_5_5_BP:1.12
	RELENG_6_1_0_RELEASE:1.13
	RELENG_6_1:1.13.0.6
	RELENG_6_1_BP:1.13
	RELENG_6_0_0_RELEASE:1.13
	RELENG_6_0:1.13.0.4
	RELENG_6_0_BP:1.13
	RELENG_6:1.13.0.2
	RELENG_6_BP:1.13
	RELENG_5_4_0_RELEASE:1.12
	RELENG_5_4:1.12.0.6
	RELENG_5_4_BP:1.12
	RELENG_5_3_0_RELEASE:1.12
	RELENG_5_3:1.12.0.4
	RELENG_5_3_BP:1.12
	RELENG_5:1.12.0.2
	RELENG_5_BP:1.12
	RELENG_3_5_0_RELEASE:1.10.2.1
	RELENG_3_4_0_RELEASE:1.10.2.1
	RELENG_3_3_0_RELEASE:1.10.2.1
	RELENG_3_2_0_RELEASE:1.10.2.1
	RELENG_3_1_0_RELEASE:1.10
	RELENG_3:1.10.0.2
	RELENG_3_BP:1.10
	RELENG_2_2_8_RELEASE:1.3.6.4
	RELENG_3_0_0_RELEASE:1.10
	RELENG_2_2_7_RELEASE:1.3.6.4
	RELENG_2_2_6_RELEASE:1.3.6.4
	RELENG_2_2_5_RELEASE:1.3.6.4
	RELENG_2_2_2_RELEASE:1.3.6.3
	RELENG_2_2_1_RELEASE:1.3.6.2
	RELENG_2_2_0_RELEASE:1.3.6.2
	RELENG_2_1_7_RELEASE:1.3
	RELENG_2_1_6_1_RELEASE:1.3
	RELENG_2_1_6_RELEASE:1.3
	RELENG_2_2:1.3.0.6
	RELENG_2_2_BP:1.3
	RELENG_2_1_5_RELEASE:1.3
	RELENG_2_1_0_RELEASE:1.3
	RELENG_2_1_0:1.3.0.4
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.2
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.3
	RELEASE_2_0:1.1
	BETA_2_0:1.1
	ALPHA_2_0:1.1.0.2
	MOVED_NEWCVS:1.1
	FINAL_1_1_5:1.1
	ALPHA_1_1_5:1.1;
locks; strict;
comment	@# @;


1.15
date	2012.11.17.01.49.10;	author svnexp;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2010.08.12.20.46.49;	author will;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2004.10.18.10.13.24;	author ache;	state Exp;
branches
	1.13.2.1
	1.13.10.1
	1.13.16.1
	1.13.18.1
	1.13.20.1
	1.13.22.1
	1.13.24.1
	1.13.26.1;
next	1.12;

1.12
date	2004.06.25.06.48.54;	author marcel;	state Exp;
branches;
next	1.11;

1.11
date	99.05.02.19.51.33;	author dfr;	state dead;
branches;
next	1.10;

1.10
date	98.05.01.14.08.30;	author bde;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	97.06.30.23.10.54;	author bde;	state Exp;
branches;
next	1.8;

1.8
date	97.01.16.17.58.14;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	97.01.15.22.33.04;	author gj;	state Exp;
branches;
next	1.6;

1.6
date	97.01.12.06.33.27;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	97.01.11.03.41.14;	author jmacd;	state Exp;
branches;
next	1.4;

1.4
date	97.01.07.04.41.18;	author jkh;	state Exp;
branches;
next	1.3;

1.3
date	95.01.11.16.38.10;	author ache;	state Exp;
branches
	1.3.6.1;
next	1.2;

1.2
date	95.01.11.16.29.36;	author ache;	state Exp;
branches;
next	1.1;

1.1
date	94.06.10.13.33.46;	author paul;	state Exp;
branches;
next	;

1.15.2.1
date	2012.11.17.01.49.10;	author svnexp;	state dead;
branches;
next	1.15.2.2;

1.15.2.2
date	2013.03.28.13.02.50;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.14.2.1.2.1
	1.14.2.1.4.1;
next	1.14.2.2;

1.14.2.2
date	2012.11.17.11.36.13;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.14.2.1.2.2;

1.14.2.1.2.2
date	2012.11.17.08.36.13;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.14.2.1.4.2;

1.14.2.1.4.2
date	2012.11.17.08.47.03;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1
date	2012.11.17.07.39.19;	author svnexp;	state Exp;
branches;
next	;

1.13.10.1
date	2012.11.17.08.01.32;	author svnexp;	state Exp;
branches;
next	;

1.13.16.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.13.18.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.13.20.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.13.22.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.13.22.1.2.1
	1.13.22.1.4.1
	1.13.22.1.6.1
	1.13.22.1.8.1;
next	1.13.22.2;

1.13.22.2
date	2012.11.17.10.35.59;	author svnexp;	state Exp;
branches;
next	;

1.13.22.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.13.22.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.13.22.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.13.22.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.13.22.1.8.2;

1.13.22.1.8.2
date	2012.11.17.08.24.40;	author svnexp;	state Exp;
branches;
next	;

1.13.24.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.13.26.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.13.26.2;

1.13.26.2
date	2012.11.17.08.16.39;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	99.05.08.08.58.38;	author dfr;	state dead;
branches;
next	;

1.3.6.1
date	97.02.02.20.46.03;	author joerg;	state Exp;
branches;
next	1.3.6.2;

1.3.6.2
date	97.02.05.00.37.28;	author joerg;	state Exp;
branches;
next	1.3.6.3;

1.3.6.3
date	97.04.11.16.58.25;	author asami;	state Exp;
branches;
next	1.3.6.4;

1.3.6.4
date	97.06.30.23.31.20;	author bde;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/gnu/usr.bin/gdb/doc/Makefile 211243 2010-08-12 20:46:49Z will $

INFO=	gdb gdbint stabs
INFOSECTION= "Software development"

MAKEINFOFLAGS+= --no-validate
MAKEINFOFLAGS+= -I ${CNTRB_GDB}/gdb/doc
MAKEINFOFLAGS+= -I ${CNTRB_GDB}/gdb/mi
MAKEINFOFLAGS+= -I ${CNTRB_RL}/doc

gdb.info: gdb.texinfo gdb-cfg.texi GDBvn.texi annotate.texinfo fdl.texi	\
	gpl.texi inc-hist.texinfo rluser.texinfo

gdbint.info: gdbint.texinfo gdb-cfg.texi fdl.texi observer.texi

gdb-cfg.texi: all-cfg.texi
	ln -sf ${.ALLSRC} ${.TARGET}

GDBvn.texi: version.in
	echo "@@set GDBVN `sed q ${.ALLSRC}`" > ${.TARGET}

inc-hist.texinfo: hsuser.texi inc-hist.diff
	cp -f ${.ALLSRC:M*.texi} ${.TARGET}
	patch < ${.ALLSRC:M*.diff}

rluser.texinfo: rluser.texi
	cp -f ${.ALLSRC:M*.texi} ${.TARGET}

CLEANFILES= gdb-cfg.texi GDBvn.texi inc-hist.texinfo inc-hist.texinfo.orig \
	rluser.texinfo

.include <bsd.info.mk>
@


1.15.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:50 +0000
@
text
@d1 32
@


1.15.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 32
# $FreeBSD: releng/8.4/gnu/usr.bin/gdb/doc/Makefile 136661 2004-10-18 10:13:24Z ache $

INFO=	gdb gdbint stabs
INFOSECTION= "Software development"

MAKEINFOFLAGS+= --no-validate
MAKEINFOFLAGS+= -I ${CNTRB_GDB}/gdb/doc
MAKEINFOFLAGS+= -I ${CNTRB_GDB}/gdb/mi
MAKEINFOFLAGS+= -I ${CNTRB_RL}/doc

gdb.info: gdb.texinfo gdb-cfg.texi GDBvn.texi annotate.texinfo fdl.texi	\
	gpl.texi inc-hist.texinfo rluser.texinfo

gdbint.info: gdbint.texinfo gdb-cfg.texi fdl.texi observer.texi

gdb-cfg.texi: all-cfg.texi
	ln -sf ${.ALLSRC} ${.TARGET}

GDBvn.texi: version.in
	echo "@@set GDBVN `sed q ${.ALLSRC}`" > ${.TARGET}

inc-hist.texinfo: hsuser.texi inc-hist.diff
	cp ${.ALLSRC:M*.texi} ${.TARGET}
	patch < ${.ALLSRC:M*.diff}

rluser.texinfo: rluser.texi
	cp ${.ALLSRC:M*.texi} ${.TARGET}

CLEANFILES= gdb-cfg.texi GDBvn.texi inc-hist.texinfo inc-hist.texinfo.orig \
	rluser.texinfo

.include <bsd.info.mk>
@


1.14
log
@SVN rev 211243 on 2010-08-12 20:46:49Z by will

Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as
read-only by default, meaning files copied can't be overwritten next time.

Reviewed by:	imp
Approved by:	ken (mentor)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.14.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.14.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/gnu/usr.bin/gdb/doc/Makefile 211243 2010-08-12 20:46:49Z will $
@


1.14.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.14.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/usr.bin/gdb/doc/Makefile 211243 2010-08-12 20:46:49Z will $
@


1.14.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.14.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/usr.bin/gdb/doc/Makefile 211243 2010-08-12 20:46:49Z will $
@


1.13
log
@Update to readline 5.0
@
text
@d23 1
a23 1
	cp ${.ALLSRC:M*.texi} ${.TARGET}
d27 1
a27 1
	cp ${.ALLSRC:M*.texi} ${.TARGET}
@


1.13.10.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/gdb/doc/Makefile 136661 2004-10-18 10:13:24Z ache $
@


1.13.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/gdb/doc/Makefile 136661 2004-10-18 10:13:24Z ache $
@


1.13.26.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.13.26.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/gdb/doc/Makefile 136661 2004-10-18 10:13:24Z ache $
@


1.13.24.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.13.22.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.13.22.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/gnu/usr.bin/gdb/doc/Makefile 136661 2004-10-18 10:13:24Z ache $
@


1.13.22.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.13.22.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/gdb/doc/Makefile 136661 2004-10-18 10:13:24Z ache $
@


1.13.22.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.13.22.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.13.22.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.13.20.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.13.18.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.13.16.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.12
log
@Add bmake glue for gdb 6.1.1. Supports alpha, amd64, i386, ia64
and sparc64.

Note that the debugger doesn't support threading, nor kernel
debugging yet.
@
text
@d22 2
a23 2
inc-hist.texinfo: hsuser.texinfo inc-hist.diff
	cp ${.ALLSRC:M*.texinfo} ${.TARGET}
d26 5
a30 1
CLEANFILES= gdb-cfg.texi GDBvn.texi inc-hist.texinfo inc-hist.texinfo.orig
@


1.11
log
@Remove old bmake framework for gdb. It has moved to live next to binutils.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1998/05/01 14:08:30 bde Exp $
d3 2
a4 1
INFO=	annotate gdb gdbint stabs
d6 4
a9 4
CONTRIBDIR= ${.CURDIR}/../../../../contrib
SRCDIR=	${CONTRIBDIR}/gdb/gdb/doc
MAKEINFOFLAGS+= -I ${CONTRIBDIR}/libreadline/doc
CLEANFILES= gdb-cfg.texi inc-hist.texi inc-hist.texi.orig
d11 2
a12 2
INFOSECTION= "Gdb Documentation"
INFOENTRY_annotate= "* GDB annotation: (annotate).	Annotations for the GNU Debugger (GDB)."
d14 1
a14 2
gdb.info: gdb.texinfo gdb-cfg.texi GDBvn.texi remote.texi \
	rluser.texinfo inc-hist.texi
d19 4
a22 2
.PATH: ${CONTRIBDIR}/libreadline/doc
inc-hist.texi: hsuser.texinfo inc-hist.diff
d24 3
a26 1
	patch -b .orig < ${.ALLSRC:M*.diff}
@


1.10
log
@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.
@
text
@d1 1
a1 1
#	$Id$
@


1.10.2.1
log
@MFC: Import gdb-4.18

Approved by: core
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1998/05/01 14:08:30 bde Exp $
@


1.9
log
@Removed -I path to gdb's readline.  This didn't do much in -current
because the -I path to config/libreadline had precedence, but in
2.2 it help hide the bug that the -I path to the non-contrib
libreadline was garbage.
@
text
@d1 1
a1 1
INFO = gdb gdbint stabs annotate
d3 6
a8 1
SRCDIR= ${.CURDIR}/../../../../contrib/gdb/gdb/doc
d13 10
a22 1
MAKEINFOFLAGS += -I ${.CURDIR}/../../../../contrib/libreadline/doc
@


1.8
log
@Simplify it using SRCDIR
@
text
@a8 1
MAKEINFOFLAGS += -I ${SRCDIR}/../../readline/doc
@


1.7
log
@changes required in the doc directory for making the gdb info
files using the texi sources in /usr/src/contrib/gdb/gdb/doc.

I put a pointer to /usr/src/contrib/libreadline/doc into
Makefile.inc in the hope that the appropriate files would be
picked up.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
@
text
@d3 1
a3 2
GDBDIR=	${.CURDIR}/../../../../contrib/gdb
.PATH: ${GDBDIR}/gdb/doc
d8 2
a9 3
MAKEINFOFLAGS += -I ${GDBDIR}/gdb/doc
MAKEINFOFLAGS += -I ${GDBDIR}/../libreadline/doc
MAKEINFOFLAGS += -I ${GDBDIR}/readline/doc
@


1.6
log
@Fix path to readline docs, since it's now in contrib
@
text
@d3 3
d9 3
a11 1
MAKEINFOFLAGS += -I ${.CURDIR}/../../../../contrib/libreadline/doc
@


1.5
log
@Same deal.
@
text
@d6 1
a6 1
MAKEINFOFLAGS += -I ${.CURDIR}/../../../lib/libreadline/doc
@


1.4
log
@Fix bogosity with gdb documentation path.
Submitted-By: Chuck Robey <chuckr@@glue.umd.edu> (with fix from me)
@
text
@d2 5
a6 1
MAKEINFOFLAGS += -I ${.CURDIR}/../../../../contrib/libreadline/doc
@


1.3
log
@Add annotate target
@
text
@d2 1
a2 1
MAKEINFOFLAGS += -I ${.CURDIR}/../../../lib/libreadline/doc
@


1.3.6.1
log
@Mega-merge to bring over the new gdb (now from `contrib').

Note that the `doc' subdir is currently broken and disabled, but i
need to see all this on a true 2.2 machine before i can fix this, and
therefore need this commit first.
@
text
@d2 1
a2 1
MAKEINFOFLAGS += -I ${.CURDIR}/../../../../contrib/libreadline/doc
@


1.3.6.2
log
@Resurrect the broken `doc' subdir, now that i've got access to a real
2.2 machine.
@
text
@a1 5

.PATH: ${.CURDIR}/../../../../contrib/gdb/gdb/doc

MAKEINFOFLAGS += -I ${.CURDIR}/../../../../contrib/gdb/gdb/doc
MAKEINFOFLAGS += -I ${.CURDIR}/../../../../contrib/gdb/readline/doc
@


1.3.6.3
log
@Merge in from -current all the changes needed to make world with the
latest texinfo.
@
text
@d7 1
a7 5

INFOSECTION= "Gdb Documentation"
INFOENTRY_annotate= "* GDB annotation: (annotate).	Annotations for the GNU Debugger (GDB)."

MAKEINFOFLAGS += -I ${.CURDIR}/../../../lib/libreadline/doc
@


1.3.6.4
log
@YAMFC.  The previous MFC was incomplete (it didn't merge the cosmetic
SRCDIR simplification) and broken (it went back to using the nonexistent
gnu/lib/libreadline/doc).  Try merging everything this time (SRCDIR
simplification, fix one stale path and remove the other).
@
text
@d3 4
a6 1
SRCDIR= ${.CURDIR}/../../../../contrib/gdb/gdb/doc
d11 1
a11 1
MAKEINFOFLAGS += -I ${.CURDIR}/../../../../contrib/libreadline/doc
@


1.2
log
@Install infopages
@
text
@d1 1
a1 1
INFO = gdb gdbint stabs
@


1.1
log
@GDB-4.12 from ports with support for shlibs but not the kernel.

This is a greatly pared down version of the full gdb-4.12, all the
config stuff has been removed and the supporting libraries have
been stripped to a minimum. This is a 1.1.5 only port, I'll do a
more complete port for 2.0 which will have all the config stuff
and will install the gnu support libraries as system libraries like
we do for readline.

There wasn't much point for 1.1.5 since only gdb would use them so I
went for saving space instead. For 2.0 I'll config all the
other gnu tools to use them as well.
@
text
@d1 2
a2 14
# This file was generated automatically by configure.  Do not edit.
VPATH = .
links = 
host_alias = i386-unknown-freebsd
host_cpu = i386
host_vendor = unknown
host_os = freebsd
host_canonical = i386-unknown-freebsd
target_alias = i386-unknown-freebsd
target_cpu = i386
target_vendor = unknown
target_os = freebsd
target_canonical = i386-unknown-freebsd
##Copyright (C) 1991, 1992 Free Software Foundation, Inc.
d4 1
a4 325
# Makefile for GDB documentation.
# This file is part of GDB.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

srcdir = .

prefix = /usr/gnu

infodir = $(prefix)/info

SHELL = /bin/sh

INSTALL = install -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)

# main GDB source directory
gdbdir = $(srcdir)/..

# where to find texinfo; GDB dist should include a recent one
TEXIDIR=${gdbdir}/../texinfo

# where to find makeinfo, preferably one designed for texinfo-2
MAKEINFO=makeinfo

# where to find texi2roff, ditto
TEXI2ROFF=texi2roff

# Where is the source dir for the READLINE library doc?  
# Traditionally readline is in .. or .
READLINE_DIR = ${gdbdir}/../readline/doc

SET_TEXINPUTS = TEXINPUTS=${TEXIDIR}:.:$(srcdir):$(READLINE_DIR):$$TEXINPUTS

# There may be alternate predefined collections of switches to configure
# the GDB manual.  Normally this is not done in synch with the software
# config system, since this choice tends to be independent; most people
# want a doc config of `all' for a generic manual, regardless of sw config.
DOC_CONFIG = all

# This list of sed edits will edit the GDB reference card
# for what fonts and what papersize to use.
# By default (NO edits applied), the refcard uses:
#    - Computer Modern (CM) fonts
#    - US letter paper (8.5x11in)
# List some of the following files for alternative fonts and paper:
#  a4rc.sed     use A4 paper (297 x 210 mm)
#  psrc.sed     use PostScript fonts (Karl Berry short TeX names)
# lpsrc.sed     use PostScript fonts (full PostScript names in TeX)
# e.g. for A4, Postscript:  REFEDITS = a4rc.sed psrc.sed
#      for A4, CM fonts:    REFEDITS = a4rc.sed
#      for US, PS fonts:    REFEDITS = psrc.sed
#      for default:
REFEDITS =

# Don Knuth's TeX formatter
TEX = tex

# auxiliary program for sorting Texinfo indices
TEXINDEX = texindex

# Main GDB manual's source files
SFILES_INCLUDED = gdb-cfg.texi $(srcdir)/remote.texi

SFILES_LOCAL = $(srcdir)/gdb.texinfo GDBvn.texi $(SFILES_INCLUDED)

SFILES_DOC = $(SFILES_LOCAL) \
                $(READLINE_DIR)/rluser.texinfo $(READLINE_DIR)/inc-hist.texi

#### Host, target, and site specific Makefile fragments come in here.
###

all install:

info: gdb.info gdbint.info stabs.info
dvi: gdb.dvi refcard.dvi gdbint.dvi
all-doc: gdb.info gdb.dvi refcard.dvi gdb-internals gdbint.dvi

install-info: info
	for i in *.info* ; do \
		$(INSTALL_DATA) $$i $(infodir)/$$i ; \
	done

STAGESTUFF = *.info* gdb-all.texi GDBvn.texi

# Copy the object files from a particular stage into a subdirectory.
stage1: force
	-mkdir stage1
	-mv $(STAGESTUFF) stage1

stage2: force
	-mkdir stage2
	-mv $(STAGESTUFF) stage2

stage3: force
	-mkdir stage3
	-mv $(STAGESTUFF) stage3

against=stage2

comparison: force
	for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done

de-stage1: force
	-(cd stage1 ; mv -f * ..)
	-rmdir stage1

de-stage2: force
	-(cd stage2 ; mv -f * ..)
	-rmdir stage2

de-stage3: force
	-(cd stage3 ; mv -f * ..)
	-rmdir stage3

clean-info:
	rm -f gdb.info* gdbint.info* stabs.info*

clean-dvi:
	rm -f gdb.dvi refcard.dvi gdbint.dvi stabs.dvi sedref.dvi
	
mostlyclean: clean-info clean-dvi
	rm -f gdb.?? gdb.??? gdb.mm gdb.ms gdb.me
	rm -f links2roff
	rm -f refcard.ps lrefcard.ps refcard.log sedref.* *~
	rm -f gdbint.?? gdbint.??? stabs.?? stabs.???

clean: mostlyclean
	rm -f GDBvn.texi rluser.texinfo inc-hist.texi

distclean: clean
	rm -f Makefile config.status

realclean: distclean clean-dvi clean-info

# GDB QUICK REFERENCE (dvi output)
refcard.dvi : refcard.tex $(REFEDITS)
	if [ -z "$(REFEDITS)" ]; then \
		cp $(srcdir)/refcard.tex sedref.tex ; \
	else \
		echo > tmp.sed ; \
		for f in "$(REFEDITS)" ; do \
			cat $(srcdir)/$$f >>tmp.sed ; done ; \
		sed -f tmp.sed $(srcdir)/refcard.tex >sedref.tex ; \
	fi
	$(SET_TEXINPUTS) $(TEX) sedref.tex
	mv sedref.dvi refcard.dvi
	rm -f sedref.log sedref.tex tmp.sed

refcard.ps : refcard.dvi
	dvips -t landscape refcard.dvi -o

# File to record current GDB version number (copied from main dir Makefile.in)
GDBvn.texi : ${gdbdir}/Makefile.in
	echo "@@set GDBVN `sed <$(srcdir)/../Makefile.in -n 's/VERSION = //p'`" > ./GDBvn.new
	mv GDBvn.new GDBvn.texi

# Updated atomically
.PRECIOUS: GDBvn.texi

# Choose configuration for GDB manual (normally `all'; normally not tied into
# `configure' script because most users prefer generic version of manual,
# not one for their binary config---which may not be specifically
# defined anyways).
gdb-cfg.texi: ${srcdir}/${DOC_CONFIG}-cfg.texi
	ln -s ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi || \
	ln ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi || \
	cp ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi

# GDB MANUAL: texinfo source, using @@set/@@clear/@@value/@@ifset/@@ifclear
# If your texinfo or makeinfo don't support these, get a new texinfo release
#
# The nonsense with GDBvn.texi gets this to run with both Sun and GNU make.
#   Note that we can *generate* GDBvn.texi, but since we distribute one in the
#   source directory for the benefit of people who *don't* use this makefile,
#   VPATH will often tell make not to bother building it, because the one
#   in the srcdir is up to date.  (if not, then make should build one here).

# GDB MANUAL: TeX dvi file
gdb.dvi: ${SFILES_DOC}
	if [ ! -f ./GDBvn.texi ]; then \
		ln -s $(srcdir)/GDBvn.texi . || \
		ln $(srcdir)/GDBvn.texi . || \
		cp $(srcdir)/GDBvn.texi . ; else true; fi
	$(SET_TEXINPUTS) $(TEX) gdb.texinfo
	$(SET_TEXINPUTS) $(TEX) gdb.texinfo
	$(TEXINDEX) gdb.??
	$(SET_TEXINPUTS) $(TEX) gdb.texinfo
	rm -f gdb.?? gdb.log gdb.aux gdb.toc gdb.??s

# GDB MANUAL: info file
# We're using texinfo2, and older makeinfo's may not be able to
# cope with all the markup.  
gdb.info: ${SFILES_DOC}
	$(MAKEINFO) -I ${READLINE_DIR} -I $(srcdir) -o ./gdb.info gdb.texinfo

# GDB MANUAL: roff translations
# Try to use a recent texi2roff.  v2 was put on prep in jan91.
# If you want an index, see texi2roff doc for postprocessing 
# and add -i to texi2roff invocations below.
# Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
#    corresponding -e lines when later texi2roff's are current)
# + @@ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
# + @@c's deleted explicitly because texi2roff sees texinfo commands in them
# + @@   (that's at-BLANK) not recognized by texi2roff, turned into blank
# + @@alphaenumerate is ridiculously new, turned into @@enumerate

# texi2roff doesn't have a notion of include dirs, so we have to fake 
# it out for gdb manual's include files---but only if not configured
# in main sourcedir.
links2roff: $(SFILES_INCLUDED)
	if [ ! -f gdb.texinfo ]; then \
		ln -s $(SFILES_INCLUDED) . || \
		ln $(SFILES_INCLUDED)    . || \
		cp $(SFILES_INCLUDED)    . ; \
	fi
	touch links2roff

#  "Readline" appendices.  Get them also due to lack of includes, 
# regardless of whether or not configuring in main sourcedir.
# @@ftable removed due to bug in texi2roff-2; if your texi2roff
# is newer, try just ln or cp
rluser.texinfo: ${READLINE_DIR}/rluser.texinfo
		sed -e 's/^@@ftable/@@table/g' \
		-e 's/^@@end ftable/@@end table/g' \
		${READLINE_DIR}/rluser.texinfo > ./rluser.texinfo

inc-hist.texi: ${READLINE_DIR}/inc-hist.texi
	ln -s ${READLINE_DIR}/inc-hist.texi . || \
	ln ${READLINE_DIR}/inc-hist.texi . || \
	cp ${READLINE_DIR}/inc-hist.texi .

# gdb manual suitable for [gtn]roff -me
gdb.me: $(SFILES_LOCAL) links2roff rluser.texinfo inc-hist.texi
	sed -e '/\\input texinfo/d' \
		-e '/@@c TEXI2ROFF-KILL/,/@@c END TEXI2ROFF-KILL/d' \
		-e '/^@@ifinfo/,/^@@end ifinfo/d' \
		-e '/^@@c /d' \
		-e 's/{.*,,/{/' \
		-e 's/@@ / /g' \
		-e 's/^@@alphaenumerate/@@enumerate/g' \
		-e 's/^@@end alphaenumerate/@@end enumerate/g' \
		$(srcdir)/gdb.texinfo | \
	$(TEXI2ROFF) -me | \
	sed -e 's/---/\\(em/g' \
	>gdb.me 

# gdb manual suitable for [gtn]roff -ms
gdb.ms: $(SFILES_LOCAL) links2roff rluser.texinfo inc-hist.texi
	sed -e '/\\input texinfo/d' \
		-e '/@@c TEXI2ROFF-KILL/,/@@c END TEXI2ROFF-KILL/d' \
		-e '/^@@ifinfo/,/^@@end ifinfo/d' \
		-e '/^@@c /d' \
		-e 's/{.*,,/{/' \
		-e 's/@@ / /g' \
		-e 's/^@@alphaenumerate/@@enumerate/g' \
		-e 's/^@@end alphaenumerate/@@end enumerate/g' \
		$(srcdir)/gdb.texinfo | \
	$(TEXI2ROFF) -ms | \
	sed -e 's/---/\\(em/g' \
	>gdb.ms 

# gdb manual suitable for [tn]roff -mm
# '@@noindent's removed due to texi2roff-2 mm bug; if yours is newer, 
#   try leaving them in
gdb.mm: $(SFILES_LOCAL) links2roff rluser.texinfo inc-hist.texi
	sed -e '/\\input texinfo/d' \
		-e '/@@c TEXI2ROFF-KILL/,/@@c END TEXI2ROFF-KILL/d' \
		-e '/^@@ifinfo/,/^@@end ifinfo/d' \
		-e '/^@@c /d' \
		-e 's/{.*,,/{/' \
		-e '/@@noindent/d' \
		-e 's/@@ / /g' \
		-e 's/^@@alphaenumerate/@@enumerate/g' \
		-e 's/^@@end alphaenumerate/@@end enumerate/g' \
		$(srcdir)/gdb.texinfo | \
	$(TEXI2ROFF) -mm | \
	sed -e 's/---/\\(em/g' \
	>gdb.mm 

# GDB INTERNALS MANUAL: TeX dvi file
gdbint.dvi : gdbint.texinfo
	$(SET_TEXINPUTS) $(TEX) gdbint.texinfo
	$(TEXINDEX) gdbint.??
	$(SET_TEXINPUTS) $(TEX) gdbint.texinfo
	rm -f gdbint.?? gdbint.aux gdbint.cps gdbint.fns gdbint.kys \
		gdbint.log gdbint.pgs gdbint.toc gdbint.tps gdbint.vrs

# GDB INTERNALS MANUAL: info file
gdb-internals: gdbint.info

gdbint.info: gdbint.texinfo
	$(MAKEINFO) -o gdbint.info $(srcdir)/gdbint.texinfo

stabs.info: stabs.texinfo
	$(MAKEINFO) -o stabs.info $(srcdir)/stabs.texinfo

# STABS DOCUMENTATION: TeX dvi file
stabs.dvi : stabs.texinfo
	$(SET_TEXINPUTS) $(TEX) stabs.texinfo
	$(TEXINDEX) stabs.??
	$(SET_TEXINPUTS) $(TEX) stabs.texinfo
	rm -f stabs.?? stabs.aux stabs.cps stabs.fns stabs.kys \
		stabs.log stabs.pgs stabs.toc stabs.tps stabs.vrs

stabs.ps: stabs.dvi
	dvips -o stabs.ps stabs

force:

Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
	$(SHELL) ./config.status
@
