[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modify $PATH for all subdirectories

From: Ben Pfaff
Subject: Re: Modify $PATH for all subdirectories
Date: Thu, 07 Apr 2011 09:18:17 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

"Too, Justin A." <address@hidden> writes:

> Thanks for the tips. I definitely would like to have the most portable
> solution so I'm leaning toward Dave's suggestion. The reason I wanted the
> PATH solution, however, was to keep things simple and in one location.
> Maybe what I will do is set an AC_SUBST for SOME_TEST, then in the
> "check-local" rules I can simply use:
> AC_SUBST(SOME_TEST, [$(top_builddir)/scripts/test/install/bin/something])
> check-local: check-something
> check-something:
>         @SOME_TEST@ --or --other

Why use Autoconf for this?  Just add a variable to

SOME_TEST = $(top_builddir)/scripts/test/install/bin/something

check-local: check-something
        $(SOME_TEST) --or --other
Ben Pfaff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]