[project @ 1997-12-22 11:46:36 by simonm]
[ghc-hetmet.git] / mk / suffix.mk
index 8b69b15..a038902 100644 (file)
@@ -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) $<