[Top][All Lists]

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

Re: Modify $PATH for all subdirectories

From: Too, Justin A.
Subject: Re: Modify $PATH for all subdirectories
Date: Thu, 7 Apr 2011 09:24:44 -0700
User-agent: Microsoft-MacOutlook/

Hi Ben,

Can I define SOME_TEST in only one and make it available to
all of the others? I have many Makefile.ams that require the SOME_TEST
variable and I would prefer not having to define it in every
individually. If I have it in one location, it provides me the flexibility
to easily swap SOME_TEST = X or SOME_TEST = Y at a later stage if


On 4/7/11 9:18 AM, "Ben Pfaff" <address@hidden> wrote:

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