diff options
author | Roland Pesch <pesch@cygnus> | 1993-03-27 01:32:11 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1993-03-27 01:32:11 +0000 |
commit | 1d7c3357ddfe48ec7b755f8599d48384bdeb6a8e (patch) | |
tree | 4bf5554debd0ab90f39dccdbef7e6205701b29b1 /gdb/doc/Makefile.in | |
parent | 0f0834c5184648a16b61cf097a2742ccc97de9c3 (diff) | |
download | gdb-1d7c3357ddfe48ec7b755f8599d48384bdeb6a8e.zip gdb-1d7c3357ddfe48ec7b755f8599d48384bdeb6a8e.tar.gz gdb-1d7c3357ddfe48ec7b755f8599d48384bdeb6a8e.tar.bz2 |
1. Update conditional markup:
(a) to make H8 configuration come out right (first attempt since
conversion to texinfo conditionals);
(b) to exploit yesterday's makeinfo bugfix, using conditionals in menus
rather than multiple alternative menus.
2. Update H8 text to refer to H8/500 as well as H8/300.
3. Define config file gdb-config.texi as a link in Makefile, based on a
DOC_CONFIG variable.
Diffstat (limited to 'gdb/doc/Makefile.in')
-rw-r--r-- | gdb/doc/Makefile.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index 74143b4..46d528e 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -47,6 +47,8 @@ READLINE_DIR = ${gdbdir}/../readline/doc SET_TEXINPUTS = TEXINPUTS=${TEXIDIR}:.:$(srcdir):$(READLINE_DIR):$$TEXINPUTS +DOC_CONFIG = all + # Don Knuth's TeX formatter TEX = tex @@ -154,6 +156,15 @@ lrefcard.ps : $(srcdir)/refcard.tex $(srcdir)/lpsrc.sed GDBvn.texi : ${gdbdir}/Makefile.in echo "@set GDBVN `sed <$(srcdir)/../Makefile.in -n 's/VERSION = //p'`" > ./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-config.texi: ${DOC_CONFIG}-config.texi + ln -s ${srcdir}/${DOC_CONFIG}-config.texi gdb-config.texi || \ + ln ${srcdir}/${DOC_CONFIG}-config.texi gdb-config.texi || \ + cp ${srcdir}/${DOC_CONFIG}-config.texi gdb-config.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 # @@ -196,7 +207,7 @@ gdb.info: ${SFILES_DOC} # it out for gdb manual's include files---but only if not configured # in main sourcedir. links2roff: $(SFILES_INCLUDED) - if [ ! -f gdb-config.texi ]; then \ + if [ ! -f gdb.texinfo ]; then \ ln -s $(SFILES_INCLUDED) . || \ ln $(SFILES_INCLUDED) . || \ cp $(SFILES_INCLUDED) . ; \ |