X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fsuffix.mk;h=a0389022eab3e84880330b646979dda2acd2267f;hb=24143f311b6fa6f373f427a09a73585a95874bde;hp=8b69b155552ca738b45cbb6f4a944fc1c0403e9a;hpb=5142f916a7d40af80a250311c43e502a56a63b11;p=ghc-hetmet.git diff --git a/mk/suffix.mk b/mk/suffix.mk index 8b69b15..a038902 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) $<