This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[rfa/5] add PDF target to doc directory
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [rfa/5] add PDF target to doc directory
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Sat, 27 May 2000 18:31:23 +1000
- Organization: Cygnus Solutions
Hello,
The attached adds a PDF target to the doc directory. I'll also make a
PDF version of the GDB doc's available.
Andrew
Fri May 26 15:55:33 2000 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (pdf, gdbint.pdf, gdb.pdf, stabs.pdf): New targets.
(DVIPDF): Define.
(STAGESTUFF, maintainer-clean realclean): Add *.pdf.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/doc/Makefile.in,v
retrieving revision 1.4.2.4
diff -p -r1.4.2.4 Makefile.in
*** Makefile.in 2000/05/24 02:06:34 1.4.2.4
--- Makefile.in 2000/05/27 08:29:02
*************** TEXINDEX = texindex
*** 92,97 ****
--- 92,100 ----
# Program to generate Postscript files from DVI files.
DVIPS = dvips
+ # Program to generate PDF files from DVI files.
+ DVIPDF = dvipdf
+
# Main GDB manual's source files
SFILES_INCLUDED = gdb-cfg.texi $(srcdir)/annotate.texi
*************** info: gdb.info gdbint.info stabs.info
*** 109,115 ****
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
! all-doc: info dvi ps
diststuff: info
install-info: info
--- 112,119 ----
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
! all-doc: info dvi ps # pdf
diststuff: info
install-info: info
*************** install-html: html
*** 130,136 ****
$(INSTALL_DATA) $$i $(htmldir)/$$i ; \
done
! STAGESTUFF = *.info* gdb-all.texi GDBvn.texi *.ps *.dvi
# Copy the object files from a particular stage into a subdirectory.
stage1: force
--- 134,140 ----
$(INSTALL_DATA) $$i $(htmldir)/$$i ; \
done
! STAGESTUFF = *.info* gdb-all.texi GDBvn.texi *.ps *.dvi *.pdf
# Copy the object files from a particular stage into a subdirectory.
stage1: force
*************** distclean: clean
*** 181,187 ****
# "clean" or "distclean". Use maintainer-clean to remove them.
maintainer-clean realclean: distclean
! rm -f GDBvn.texi *.info* *.dvi *.ps *.html
# GDB QUICK REFERENCE (dvi output)
refcard.dvi : refcard.tex $(REFEDITS)
--- 185,191 ----
# "clean" or "distclean". Use maintainer-clean to remove them.
maintainer-clean realclean: distclean
! rm -f GDBvn.texi *.info* *.dvi *.ps *.html *.pdf
# GDB QUICK REFERENCE (dvi output)
refcard.dvi : refcard.tex $(REFEDITS)
*************** gdb.dvi: ${SFILES_DOC}
*** 243,248 ****
--- 247,255 ----
gdb.ps: gdb.dvi
$(DVIPS) -o $@ $?
+ gdb.pdf: gdb.dvi
+ $(DVIPDF) $< $@
+
# GDB MANUAL: info file
# We're using texinfo 3.12; older makeinfo's may not be able to
# cope with all the markup.
*************** gdbint.dvi : gdbint.texinfo
*** 370,375 ****
--- 377,385 ----
gdbint.ps : gdbint.dvi
$(DVIPS) -o $@ $?
+ gdbint.pdf: gdbint.dvi
+ $(DVIPDF) $? $@
+
# GDB INTERNALS MANUAL: info file
gdbint.info: gdbint.texinfo
*************** stabs.dvi : stabs.texinfo
*** 398,403 ****
--- 408,416 ----
stabs.ps: stabs.dvi
$(DVIPS) -o $@ $?
+
+ stabs.pdf: stabs.dvi
+ $(DVIPDF) $? $@
force: