bug-automake
[Top][All Lists]
Advanced

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

bug#13524: [PATCH 1/2] preproc: add support for relative names in includ


From: Stefano Lattarini
Subject: bug#13524: [PATCH 1/2] preproc: add support for relative names in included fragments
Date: Mon, 11 Mar 2013 10:46:55 +0100

On 03/11/2013 10:31 AM, Bert Wesarg wrote:
> Hi,
> 
> I have one more question here:
> 
> On Thu, Feb 14, 2013 at 1:39 PM, Stefano Lattarini
> <address@hidden> wrote:
>> On 02/14/2013 01:20 PM, Bert Wesarg wrote:
>>> Hi,
>>>
>>> On Thu, Feb 14, 2013 at 11:26 AM, Stefano Lattarini wrote:
>>> What definitily will not work ist something like this, right?
>>>
>>> here = %reldir%
>>> target = %canon_reldir%/foo
>>>
>>>         bin_PROGRAMS += ${here}/foo
>>>         ${target}_SOURCES = ${here}/bar.c
>>>
> 
> I have the impression that variable references in filenames aren't
> supported anyway, right?
> 
Wrong, actually.  What isn't supported are variable references in
variable/primary names:

    $ cat > Makefile.am <<-END
        foo = bin
        $(foo)_PROGRAMS = bar
    END
    $ automake -a
    Makefile.am:2: bad characters in variable name `$(foo)_PROGRAMS'
    Makefile.am:2: `$(foo)_PROGRAMS' is used but `$(foo)dir' is undefined

Best regards,
  Stefano





reply via email to

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