diff --git a/mk/suffix.mk b/mk/suffix.mk index 8b69b155552ca738b45cbb6f4a944fc1c0403e9a..a0389022eab3e84880330b646979dda2acd2267f 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -190,10 +190,19 @@ HASKELL_POST_COMPILE=$(patsubst %,$(HASKELL_SPLIT_POST),$(filter -split-objs,$(H @$(RM) $@ expand $*.verb | $(SGMLVERB) > $@ +%.tex : %.sgml + @$(RM) $@ + $(SGML2LATEX) -m --output=tex $< + %.dvi : %.sgml @$(RM) $@ $(SGML2LATEX) -m --output=dvi $< +# Not yet: we already have a %.ps : %.dvi rule, this one would conflict. +#%,ps : %.sgml +# @$(RM) $@ +# $(SGML2LATEX) -m --output=ps $< + %.html : %.sgml @$(RM) $@ $(SGML2HTML) $<