* build-aux/tex.mk (SUFFIXES): Add .html.
(.tex.html): New rule.
(TEXI2HTML, TEXI2HTML_FLAGS): New variables.
---
ChangeLog | 8 ++++++++
build-aux/tex.mk | 8 +++++++-
2 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 91abb6e..36bc676 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2010-03-15 Roland Levillain <roland(a)lrde.epita.fr>
+ Support HTML outputs in tex.mk.
+
+ * build-aux/tex.mk (SUFFIXES): Add .html.
+ (.tex.html): New rule.
+ (TEXI2HTML, TEXI2HTML_FLAGS): New variables.
+
+2010-03-15 Roland Levillain <roland(a)lrde.epita.fr>
+
Automake configuration.
* configure.ac: Remove option `foreign'.
diff --git a/build-aux/tex.mk b/build-aux/tex.mk
index 9fa00ff..493a687 100644
--- a/build-aux/tex.mk
+++ b/build-aux/tex.mk
@@ -27,11 +27,17 @@ TEXI2DVI_FLAGS = --tidy --build-dir=tmp.t2d --batch
TEXI2PDF = $(TEXI2DVI) --pdf
TEXI2PDF_FLAGS = $(TEXI2DVI_FLAGS)
-SUFFIXES = .pdf .tex
+TEXI2HTML = $(TEXI2DVI) --html
+TEXI2HTML_FLAGS = $(TEXI2DVI_FLAGS)
+
+SUFFIXES = .tex .pdf .html
.tex.pdf:
$(TEXI2PDF) $(TEXI2PDF_FLAGS) -o $@ $<
+.tex.html:
+ $(TEXI2HTML) $(TEXI2HTML_FLAGS) -o $@ $<
+
tex-mostlyclean:
rm -rf tmp.t2d
.PHONY: tex-mostlyclean
--
1.5.6.5