diff --git a/mk/suffix.mk b/mk/suffix.mk index 5d38b2cb4fba08ea716681c3dc442a63ebc8114f..8b69b155552ca738b45cbb6f4a944fc1c0403e9a 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -181,6 +181,31 @@ HASKELL_POST_COMPILE=$(patsubst %,$(HASKELL_SPLIT_POST),$(filter -split-objs,$(H @$(RM) $@ fig2dev -L latex $< $@ +#----------------------------------------------------------------------------- +# SGML suffix rules +# +# make sure these don't conflict with the literate rules! + +%.sgml : %.vsgml + @$(RM) $@ + expand $*.verb | $(SGMLVERB) > $@ + +%.dvi : %.sgml + @$(RM) $@ + $(SGML2LATEX) -m --output=dvi $< + +%.html : %.sgml + @$(RM) $@ + $(SGML2HTML) $< + +%.info : %.sgml + @$(RM) $@ + $(SGML2INFO) $< + +%.txt : %.sgml + @$(RM) $@ + $(SGML2TXT) $< + #----------------------------------------------------------------------------- # Literate suffix rules