This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]