This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Add ari rule to generate ARI web page in build directory.
- From: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: <gdb-patches at sourceware dot org>
- Date: Thu, 09 May 2013 14:57:28 -0600
- Subject: Re: RFC: Add ari rule to generate ARI web page in build directory.
- References: <9703 dot 14662340588$1367927896 at news dot gmane dot org>
>>>>> "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