diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-30 04:14:38 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-30 04:14:38 +0000 |
commit | e6f672d252b712461db19ff06cea40c86172df4b (patch) | |
tree | 3675f158981294c18d5063713f53b1f68aeec3e5 /gdb/doc/Makefile.in | |
parent | fd7bb956ee6fa97901cccbc8ec62b1365907556c (diff) | |
download | gdb-e6f672d252b712461db19ff06cea40c86172df4b.zip gdb-e6f672d252b712461db19ff06cea40c86172df4b.tar.gz gdb-e6f672d252b712461db19ff06cea40c86172df4b.tar.bz2 |
2003-07-28 Andrew Cagney <cagney@redhat.com>
* Makefile.in (INFO_DEPS): Add annotate.info.
(dvi, ps, html, pdf): Add annotate.
(ANNOTATE_DOC_SOURCE_INCLUDES): New macro.
(ANNOTATE_DOC_BUILD_INCLUDES): New macro.
(ANNOTATE_DOC_FILES): New macro.
(ANNOTATE_TEX_TMPS): New macro.
(annotate.info, annotate_toc.html): Specify dependencies.
(annotate.ps, annotate.pdf, annotate.dvi): Ditto.
* annotate.texinfo: Rename annotate.texi. Get building. Add
"Migrating to GDB/MI" and "Limitations of the Annotation
Interface" chapters. Mention why it is not part of the user
guide. Update copyright notice. Include "fdl.texi".
Diffstat (limited to 'gdb/doc/Makefile.in')
-rw-r--r-- | gdb/doc/Makefile.in | 45 |
1 files changed, 40 insertions, 5 deletions
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index eda637c..f5dda01 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -67,7 +67,7 @@ SET_TEXINPUTS = \ TEXINPUTS=${TEXIDIR}:.:$(srcdir):$(READLINE_DIR):$(GDBMI_DIR):$$TEXINPUTS # Files which should be generated via 'info' and installed by 'install-info' -INFO_DEPS = gdb.info gdbint.info stabs.info +INFO_DEPS = gdb.info gdbint.info stabs.info annotate.info # There may be alternate predefined collections of switches to configure # the GDB manual. Normally this is not done in synch with the software @@ -131,16 +131,26 @@ STABS_DOC_FILES = \ $(STABS_DOC_SOURCE_INCLUDES) \ $(STABS_DOC_BUILD_INCLUDES) +# Annotate migration document +ANNOTATE_DOC_SOURCE_INCLUDES = \ + $(srcdir)/fdl.texi +ANNOTATE_DOC_BUILD_INCLUDES = \ + gdb-cfg.texi +ANNOTATE_DOC_FILES = \ + $(srcdir)/annotate.texinfo \ + $(ANNOTATE_DOC_SOURCE_INCLUDES) \ + $(ANNOTATE_DOC_BUILD_INCLUDES) + #### Host, target, and site specific Makefile fragments come in here. ### all: info: $(INFO_DEPS) -dvi: gdb.dvi gdbint.dvi stabs.dvi refcard.dvi -ps: gdb.ps gdbint.ps stabs.ps refcard.ps -html: gdb_toc.html gdbint_toc.html stabs_toc.html -pdf: gdb.pdf gdbint.pdf stabs.pdf +dvi: gdb.dvi gdbint.dvi stabs.dvi refcard.dvi annotate.dvi +ps: gdb.ps gdbint.ps stabs.ps refcard.ps annotate.ps +html: gdb_toc.html gdbint_toc.html stabs_toc.html annotate.html +pdf: gdb.pdf gdbint.pdf stabs.pdf annotate.pdf all-doc: info dvi ps # pdf diststuff: info @@ -420,6 +430,30 @@ stabs.pdf: $(STABS_DOC_FILES) rm -f $(STABS_TEX_TMPS) $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/stabs.texinfo +# Clean these up before each run. Avoids a catch 22 with not being +# able to re-generate these files (to fix a corruption) because these +# files contain a corruption. +ANNOTATE_TEX_TMPS = annotate.aux annotate.cp* annotate.fn* annotate.ky* \ + annotate.log annotate.pg* annotate.toc annotate.tp* annotate.vr* + +# ANNOTATE DOCUMENTATION: TeX dvi file +annotate.dvi : $(ANNOTATE_DOC_FILES) + rm -f $(ANNOTATE_TEX_TMPS) + $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/annotate.texinfo + +annotate.ps: annotate.dvi + $(DVIPS) -o $@ $? + +annotate.pdf: $(ANNOTATE_DOC_FILES) + rm -f $(ANNOTATE_TEX_TMPS) + $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/annotate.texinfo + +annotate.info: $(ANNOTATE_DOC_FILES) + $(MAKEINFO) -I $(srcdir) -o annotate.info $(srcdir)/annotate.texinfo + +annotate_toc.html: $(ANNOTATE_DOC_FILES) + $(MAKEHTML) $(MAKEHTMLFLAGS) $(srcdir)/annotate.texinfo + force: Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag) config.status @@ -434,6 +468,7 @@ mostlyclean: rm -f $(GDB_TEX_TMPS) rm -f $(GDBINT_TEX_TMPS) rm -f $(STABS_TEX_TMPS) + rm -f $(ANNOTATE_TEX_TMPS) rm -f sedref.dvi sedref.tex tmp.sed clean: mostlyclean |