summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 6691690..ed9f067 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -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) >$@