contrib: check-html: pass flags to rst2html invocations
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 2 Jul 2012 19:05:34 +0000 (21:05 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 2 Jul 2012 19:13:24 +0000 (21:13 +0200)
Related to automake bug#11287.

* contrib/t/check-html.am (.log.html): Here, passing $(AM_RST2HTMLFLAGS)
and $(RST2HTMLFLAGS) (in that order).

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
contrib/check-html.am

index 47e4f47..36a5dbe 100644 (file)
@@ -38,7 +38,8 @@ mostlyclean-check-html:
          echo "cannot find rst2html, cannot create $@" >&2;            \
          exit 2;                                                       \
        done;                                                           \
-       $$r2h $< >$@-t && mv -f $@-t $@
+       $$r2h $(AM_RST2HTMLFLAGS) $(RST2HTMLFLAGS) $< >$@-t             \
+         && mv -f $@-t $@
 
 # Be sure to run check first, and then to convert the result.
 # Beware of concurrent executions.  Run "check" not "check-TESTS", as