-# Transform reST documents
-$(VD)/%.pdf: $T/%.rst $G/rst-flags
- $(call exec,$(RST2PDF) $(RSTFLAGS) -o $@ $<)
+RST2HTML := rst2html
+RST2HTMLFLAGS := --section-subtitles
+
+# Transform reST documents to PDF
+$(VD)/%.pdf: $T/%.rst $G/rst2pdf-flags
+ $(call exec,$(RST2PDF) $(RST2PDFFLAGS) -o $@ $<)
+
+# Transform reST documents to HTML
+$(VD)/%.html: $T/%.rst $G/rst2html-flags
+ $(call exec,$(RST2HTML) $(RST2HTMLFLAGS) $< $@)
+
+# The real targets
+$(VD)/resume-en.pdf: RST2PDFFLAGS += -l en_US
+$(VD)/resume-en.html: RST2HTMLFLAGS += -l en
+$(VD)/resume-es.pdf: RST2PDFFLAGS += -l es_AR
+$(VD)/resume-es.html: RST2HTMLFLAGS += -l es