-setup_flag_files__ := $(call gen_rebuild_flags,$G/rst-flags, \
- $(RSTFLAGS) $(RST2PDF),rst2pdf)
+setup_flag_files__ := $(call gen_rebuild_flags,$G/rst2pdf-flags,\
+ $(RST2PDFFLAGS) $(RST2PDF),rst2pdf)
+setup_flag_files__ := $(setup_flag_files__)$(call gen_rebuild_flags,\
+ $G/rst2html-flags,$(RST2HTMLFLAGS) $(RST2HTML),rst2html)