diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-04-21 20:13:08 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2009-04-21 20:13:08 +0000 |
commit | 26e251b60395cf60fd81e6e10ab2c487f75f0164 (patch) | |
tree | 9b59a331d0a8fdffe7e3d43c3bda04ce156077c8 /gdb/doc/Makefile.in | |
parent | 32c1c914bc653cb5bd8cb627d244d1142172bb76 (diff) | |
download | gdb-26e251b60395cf60fd81e6e10ab2c487f75f0164.zip gdb-26e251b60395cf60fd81e6e10ab2c487f75f0164.tar.gz gdb-26e251b60395cf60fd81e6e10ab2c487f75f0164.tar.bz2 |
gdb:
* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir,
--with-htmldir): New.
* configure: Regenerate.
gdb/doc:
* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir,
--with-htmldir): New.
* configure: Regenerate.
* Makefile.in (datarootdir, docdir): Define.
(gdb.dvi, gdb.pdf): Use same -I options as for building gdb.info
instead of $(SET_TEXINPUTS).
(gdbint.dvi, gdbint.pdf): Use same -I options as for building
gdbint.info instead of $(SET_TEXINPUTS).
(gdbint/index.html): Use same -I options as for building
gdbint.info.
(stabs.dvi, stabs.pdf): Use same -I options as for building
stabs.info instead of $(SET_TEXINPUTS).
(stabs/index.html): Use same -I options as for building
stabs.info.
(annotate.dvi, annotate.pdf): Use same -I options as for building
annotate.info instead of $(SET_TEXINPUTS).
(annotate/index.html): Use same -I options as for building
annotate.info.
Diffstat (limited to 'gdb/doc/Makefile.in')
-rw-r--r-- | gdb/doc/Makefile.in | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index 34ee07c..b7f9af0 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -24,6 +24,8 @@ VPATH = @srcdir@ prefix = @prefix@ infodir = @infodir@ +datarootdir = @datarootdir@ +docdir = @docdir@ pdfdir = @pdfdir@ htmldir = @htmldir@ @@ -338,7 +340,8 @@ gdb.dvi: ${GDB_DOC_FILES} ln $(srcdir)/GDBvn.texi . || \ cp $(srcdir)/GDBvn.texi . ; else true; fi rm -f $(GDB_TEX_TMPS) - $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/gdb.texinfo + $(TEXI2DVI) -I ${READLINE_DIR} -I ${GDBMI_DIR} -I $(srcdir) \ + $(srcdir)/gdb.texinfo gdb.ps: gdb.dvi $(DVIPS) -o $@ $? @@ -349,7 +352,8 @@ gdb.pdf: ${GDB_DOC_FILES} ln $(srcdir)/GDBvn.texi . || \ cp $(srcdir)/GDBvn.texi . ; else true; fi rm -f $(GDB_TEX_TMPS) - $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/gdb.texinfo + $(TEXI2DVI) --pdf -I ${READLINE_DIR} -I ${GDBMI_DIR} -I $(srcdir) \ + $(srcdir)/gdb.texinfo # GDB MANUAL: info file gdb.info: ${GDB_DOC_FILES} @@ -440,14 +444,14 @@ GDBINT_TEX_TMPS = gdbint.aux gdbint.cp* gdbint.fn* gdbint.ky* \ # GDB INTERNALS MANUAL: TeX dvi file gdbint.dvi: $(GDBINT_DOC_FILES) rm -f $(GDBINT_TEX_TMPS) - $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/gdbint.texinfo + $(TEXI2DVI) -I $(srcdir) $(srcdir)/gdbint.texinfo gdbint.ps : gdbint.dvi $(DVIPS) -o $@ $? gdbint.pdf: $(GDBINT_DOC_FILES) rm -f $(GDBINT_TEX_TMPS) - $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/gdbint.texinfo + $(TEXI2DVI) --pdf -I $(srcdir) $(srcdir)/gdbint.texinfo # GDB INTERNALS MANUAL: info file @@ -457,7 +461,7 @@ gdbint.info: $(GDBINT_DOC_FILES) # GDB INTERNALS MANUAL: HTML file gdbint/index.html: $(GDBINT_DOC_FILES) - $(MAKEHTML) $(MAKEHTMLFLAGS) $(srcdir)/gdbint.texinfo + $(MAKEHTML) $(MAKEHTMLFLAGS) -I $(srcdir) $(srcdir)/gdbint.texinfo stabs.info: $(STABS_DOC_FILES) $(MAKEINFO) -I $(srcdir) -o stabs.info $(srcdir)/stabs.texinfo @@ -465,7 +469,7 @@ stabs.info: $(STABS_DOC_FILES) # STABS DOCUMENTATION: HTML file stabs/index.html: $(STABS_DOC_FILES) - $(MAKEHTML) $(MAKEHTMLFLAGS) $(srcdir)/stabs.texinfo + $(MAKEHTML) $(MAKEHTMLFLAGS) -I $(srcdir) $(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 @@ -476,14 +480,14 @@ STABS_TEX_TMPS = stabs.aux stabs.cp* stabs.fn* stabs.ky* \ # STABS DOCUMENTATION: TeX dvi file stabs.dvi : $(STABS_DOC_FILES) rm -f $(STABS_TEX_TMPS) - $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/stabs.texinfo + $(TEXI2DVI) -I $(srcdir) $(srcdir)/stabs.texinfo stabs.ps: stabs.dvi $(DVIPS) -o $@ $? stabs.pdf: $(STABS_DOC_FILES) rm -f $(STABS_TEX_TMPS) - $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/stabs.texinfo + $(TEXI2DVI) --pdf -I $(srcdir) $(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 @@ -494,20 +498,20 @@ ANNOTATE_TEX_TMPS = annotate.aux annotate.cp* annotate.fn* annotate.ky* \ # ANNOTATE DOCUMENTATION: TeX dvi file annotate.dvi : $(ANNOTATE_DOC_FILES) rm -f $(ANNOTATE_TEX_TMPS) - $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/annotate.texinfo + $(TEXI2DVI) -I $(srcdir) $(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 + $(TEXI2DVI) --pdf -I $(srcdir) $(srcdir)/annotate.texinfo annotate.info: $(ANNOTATE_DOC_FILES) $(MAKEINFO) -I $(srcdir) -o annotate.info $(srcdir)/annotate.texinfo annotate/index.html: $(ANNOTATE_DOC_FILES) - $(MAKEHTML) $(MAKEHTMLFLAGS) $(srcdir)/annotate.texinfo + $(MAKEHTML) $(MAKEHTMLFLAGS) -I $(srcdir) $(srcdir)/annotate.texinfo force: |