From: Chris Hanson <org/chris-hanson/cph>
Date: Mon, 10 Jul 2000 22:18:37 +0000 (+0000)
Subject: Add PDF and clean rules.
X-Git-Tag: 20090517-FFI~3349
X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=d18e896f420983ab94a80e3938b288f1be643d4b;p=mit-scheme.git

Add PDF and clean rules.
---

diff --git a/v7/doc/ref-manual/Makefile b/v7/doc/ref-manual/Makefile
index d51247bd2..cbc6278ee 100644
--- a/v7/doc/ref-manual/Makefile
+++ b/v7/doc/ref-manual/Makefile
@@ -1,5 +1,5 @@
 
-# $Id: Makefile,v 1.1 2000/07/10 22:13:35 cph Exp $
+# $Id: Makefile,v 1.2 2000/07/10 22:14:33 cph Exp $
 #
 # Copyright (c) 2000 Massachusetts Institute of Technology
 #
@@ -17,13 +17,16 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-all:	scheme.ps scheme.info html/scheme_toc.html
+all:	scheme.ps scheme.pdf scheme.info html/scheme_toc.html
 
 scheme.ps: scheme.dvi
 	dvips -o $@ $^
 
 scheme.dvi: scheme.texinfo
-	./re-tex
+	texi2dvi $^
+
+scheme.pdf: scheme.texinfo
+	texi2pdf $^
 
 scheme.info: scheme.texinfo
 	makeinfo $^
@@ -33,3 +36,13 @@ scheme.info: scheme.texinfo
 
 html/scheme_toc.html: scheme.texinfo
 	(cd html;make)
+
+AUX_SUFFIXES = aux log toc
+INDEX_SUFFIXES = cp fn ky pg tp vr
+
+clean:
+	rm -f scheme.ps scheme.dvi scheme.pdf scheme.info*
+	rm -f $(addprefix scheme.,$(AUX_SUFFIXES))
+	rm -f $(addprefix scheme.,$(INDEX_SUFFIXES))
+	rm -f $(addsuffix s,$(addprefix scheme.,$(INDEX_SUFFIXES)))
+	$(MAKE) -C html $@
diff --git a/v7/doc/sos/Makefile b/v7/doc/sos/Makefile
index 7ef0bd332..bf89a8fab 100644
--- a/v7/doc/sos/Makefile
+++ b/v7/doc/sos/Makefile
@@ -1,5 +1,5 @@
 
-# $Id: Makefile,v 2.1 2000/07/10 22:17:03 cph Exp $
+# $Id: Makefile,v 2.2 2000/07/10 22:18:04 cph Exp $
 #
 # Copyright (c) 2000 Massachusetts Institute of Technology
 #
@@ -17,13 +17,16 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-all:	sos.ps sos.info html/sos_toc.html
+all:	sos.ps sos.pdf sos.info html/sos_toc.html
 
 sos.ps: sos.dvi
 	dvips -o $@ $^
 
 sos.dvi: sos.texinfo
-	./re-tex
+	texi2dvi $^
+
+sos.pdf: sos.texinfo
+	texi2pdf $^
 
 sos.info: sos.texinfo
 	makeinfo $^
@@ -33,3 +36,13 @@ sos.info: sos.texinfo
 
 html/sos_toc.html: sos.texinfo
 	(cd html;make)
+
+AUX_SUFFIXES = aux log toc
+INDEX_SUFFIXES = cp fn ky pg tp vr
+
+clean:
+	rm -f scheme.ps scheme.dvi scheme.pdf scheme.info*
+	rm -f $(addprefix scheme.,$(AUX_SUFFIXES))
+	rm -f $(addprefix scheme.,$(INDEX_SUFFIXES))
+	rm -f $(addsuffix s,$(addprefix scheme.,$(INDEX_SUFFIXES)))
+	$(MAKE) -C html $@