RFC: Add ari rule to generate ARI web page in build directory.

Tom Tromey tromey@redhat.com
Thu May 9 20:57:00 GMT 2013


>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:

Pierre> +# Rule to generate Awk Regression Index (aka ARI) web page.
Pierre> +# Directory of ARI scripts.
Pierre> +ARI_SRCDIR=$(abspath ${srcdir})/contrib/ari

I don't really mind the GNU make-ism, but so far we've only required GNU
make for a couple of (semi-optional) things.

It's possible to rewrite the rule instead so that the abspath isn't
needed, like:

        builddir=`cd $(ARI_BUILDDIR) && pwd`; \
        tmpdir=`cd $(ARI_TMP_DIR) && pwd`; \
        ... $$tmpdir ...

etc.

Aside from that it seems good to me.

Tom



More information about the Gdb-patches mailing list