projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5142f91
)
[project @ 1997-12-22 11:46:36 by simonm]
author
simonm
<unknown>
Mon, 22 Dec 1997 11:46:36 +0000
(11:46 +0000)
committer
simonm
<unknown>
Mon, 22 Dec 1997 11:46:36 +0000
(11:46 +0000)
add a .sgml->.tex rule
mk/suffix.mk
patch
|
blob
|
history
diff --git
a/mk/suffix.mk
b/mk/suffix.mk
index
8b69b15
..
a038902
100644
(file)
--- 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) $<