Skip to content

Commit eeaccbf

Browse files
committed
Added support for postscript output (*.ps).
1 parent b829a09 commit eeaccbf

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Doc/Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ TROFF= ditroff
33
MS= -ms
44
FUNNYTAB= $$HOME/lib/funnytab
55
PREVIEW= dpv -f $(FUNNYTAB)
6+
PSDIT= psdit
67

78
tut: tut.dit
89
$(PREVIEW) tut.dit
@@ -23,9 +24,17 @@ all: $(ALL)
2324
$(ALL): macros.ms
2425

2526
clean:
26-
rm -f $(ALL)
27+
rm -f *.dit *.ps core @* ,*
2728

28-
.SUFFIXES: .ms .dit
29+
.SUFFIXES: # Remove default suffixes
30+
31+
.SUFFIXES: .ms .dit .ps
2932

3033
.ms.dit:
3134
$(TBL) $*.ms | $(TROFF) $(MS) >$@
35+
36+
.dit.ps:
37+
$(PSDIT) <$*.dit >$@
38+
39+
.ms.ps:
40+
$(TBL) $*.ms | $(TROFF) $(MS) | $(PSDIT) >$@

0 commit comments

Comments
 (0)