From: simonm Date: Mon, 22 Dec 1997 11:46:36 +0000 (+0000) Subject: [project @ 1997-12-22 11:46:36 by simonm] X-Git-Tag: Approx_2487_patches~1130 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=24143f311b6fa6f373f427a09a73585a95874bde [project @ 1997-12-22 11:46:36 by simonm] add a .sgml->.tex rule --- 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) $<