changeset 1702:245980c04067

[xemacs-hg @ 2003-09-20 01:25:47 by youngs] 2003-09-19 Sandra Wambold <wambold@xemacs.org> * Makefile: add targets to produce PDF files
author youngs
date Sat, 20 Sep 2003 01:25:48 +0000
parents a1e328407366
children f561c3904bb3
files man/ChangeLog man/Makefile
diffstat 2 files changed, 41 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Sat Sep 20 01:14:30 2003 +0000
+++ b/man/ChangeLog	Sat Sep 20 01:25:48 2003 +0000
@@ -1,3 +1,7 @@
+2003-09-19  Sandra Wambold  <wambold@xemacs.org>
+
+	* Makefile: add targets to produce PDF files
+
 2003-09-03  Steve Youngs  <youngs@xemacs.org>
 
 	* XEmacs 21.5.15 "celery" is released.
--- a/man/Makefile	Sat Sep 20 01:14:30 2003 +0000
+++ b/man/Makefile	Sat Sep 20 01:25:48 2003 +0000
@@ -27,7 +27,7 @@
 RM = rm -f
 
 .SUFFIXES:
-.SUFFIXES: .html .info .texi .dvi
+.SUFFIXES: .html .info .texi .dvi .pdf
 
 RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)'
 
@@ -89,6 +89,23 @@
 	xemacs.dvi \
 	xemacs-faq.dvi
 
+pdf_files = \
+       cl.pdf \
+       custom.pdf \
+       emodules.pdf \
+       external-widget.pdf \
+       info.pdf \
+       lispref.pdf \
+       internals.pdf \
+       new-users-guide.pdf \
+       standards.pdf \
+       term.pdf \
+       termcap.pdf \
+       texinfo.pdf \
+       widget.pdf \
+       xemacs.pdf \
+       xemacs-faq.pdf
+
 xemacs-srcs = \
 	xemacs/abbrevs.texi \
 	xemacs/basic.texi \
@@ -281,7 +298,7 @@
 internals : $(INFODIR)/internals.info
 new-users-guide.info : $(INFODIR)/new-users-guide.info
 
-.PHONY : xemacs lispref internals new-users-guide info dvi
+.PHONY : xemacs lispref internals new-users-guide info dvi pdf
 
 info : $(info_files)
 html : $(html_files)
@@ -297,6 +314,9 @@
 .texi.dvi:
 	-$(TEXI2DVI) $<
 
+.texi.pdf:
+	-$(TEXI2DVI) --pdf $<
+
 xemacs.dvi : $(xemacs-srcs)
 	$(TEXI2DVI) -I xemacs xemacs/xemacs.texi
 
@@ -311,12 +331,26 @@
 
 dvi : $(dvi_files)
 
+xemacs.pdf: $(xemacs-srcs)
+	$(TEXI2DVI) --pdf -I xemacs xemacs/xemacs.texi
+
+lispref.pdf: $(lispref-srcs)
+	$(TEXI2DVI) --pdf -I lispref lispref/lispref.texi
+
+internals.pdf: $(internals-srcs)
+	$(TEXI2DVI) --pdf -I internals internals/internals.texi
+
+new-users-guide.pdf: $(new-users-guide-srcs)
+	$(TEXI2DVI) --pdf -I new-users-guide new-users-guide/new-users-guide.texi
+
+pdf: $(pdf_files)
+
 .PHONY: mostlyclean clean distclean realclean extraclean
 mostlyclean:
 	$(RM) *.toc *.aux *.log *.op *.cp *.cps *.fn *.fns
 	$(RM) *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs
 clean: mostlyclean
-	$(RM) core *.dvi
+	$(RM) core *.dvi *.pdf
 distclean: clean
 realclean: distclean
 extraclean: distclean