]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added support for postscript output (*.ps).
authorGuido van Rossum <guido@python.org>
Sun, 7 Oct 1990 12:35:21 +0000 (12:35 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 7 Oct 1990 12:35:21 +0000 (12:35 +0000)
Doc/Makefile

index 6691690fe9ca3b67e2904c01fa641206dea05ba2..ed9f067d9374aa8cf394834978ebaef272d50717 100644 (file)
@@ -3,6 +3,7 @@ TROFF=          ditroff
 MS=            -ms
 FUNNYTAB=      $$HOME/lib/funnytab
 PREVIEW=       dpv -f $(FUNNYTAB)
+PSDIT=         psdit
 
 tut:           tut.dit
                $(PREVIEW) tut.dit
@@ -23,9 +24,17 @@ all:         $(ALL)
 $(ALL):                macros.ms
 
 clean:
-               rm -f $(ALL)
+               rm -f *.dit *.ps core @* ,* 
 
-.SUFFIXES:     .ms .dit
+.SUFFIXES:     # Remove default suffixes
+
+.SUFFIXES:     .ms .dit .ps
 
 .ms.dit:
                $(TBL) $*.ms | $(TROFF) $(MS) >$@
+
+.dit.ps:
+               $(PSDIT) <$*.dit >$@
+
+.ms.ps:
+               $(TBL) $*.ms | $(TROFF) $(MS) | $(PSDIT) >$@