1. python_mirrors
  2. sandbox/merwok

Commits

Guido van Rossum  committed 8da9225

Added support for postscript output (*.ps).

  • Participants
  • Parent commits 4a3a648
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Doc/Makefile

View file
 MS=		-ms
 FUNNYTAB=	$$HOME/lib/funnytab
 PREVIEW=	dpv -f $(FUNNYTAB)
+PSDIT=		psdit
 
 tut:		tut.dit
 		$(PREVIEW) tut.dit
 $(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) >$@