GNU bug report logs - #13524
Improving user experience for non-recursive builds

Previous Next

Package: automake;

Reported by: Miles Bader <miles <at> gnu.org>

Date: Tue, 22 Jan 2013 09:20:02 UTC

Severity: wishlist

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Bert Wesarg <bert.wesarg <at> googlemail.com>
Cc: 13524 <at> debbugs.gnu.org, Peter Rosin <peda <at> lysator.liu.se>, automake-patches <at> gnu.org, Bob Friesenhahn <bfriesen <at> simple.dallas.tx.us>, Eric Blake <eblake <at> redhat.com>, Miles Bader <miles <at> gnu.org>
Subject: bug#13524: [PATCH 1/2] preproc: add support for relative names in included fragments
Date: Mon, 11 Mar 2013 19:58:09 +0100
On 03/11/2013 01:05 PM, Bert Wesarg wrote:
> On Mon, Mar 11, 2013 at 10:46 AM, Stefano Lattarini
> <stefano.lattarini <at> gmail.com> wrote:
>> On 03/11/2013 10:31 AM, Bert Wesarg wrote:
>>> I have the impression that variable references in filenames aren't
>>> supported anyway, right?
>>>
>> Wrong, actually.
> 
> But when I prefixing a source file with '$(src)/' and use
> subdir-objects then I get something like this in the Makefile.in
> 
> $(src)/test-test.o: $(src)/test.c
>
> And after a configure I get an '$(src)' directory in my build dir.
>
Yes -- and this is intended behavior of subdir-objects.  Why do you
think Automake is acting wrong?  (Honest question, I might be missing
something here ...)

> - 8< - Makefile.am - >8 -
> 
> src = .
> bin_PROGRAMS = test
> test_SOURCES = \
>     $(src)/test.c
> test_CPPFLAGS = \
>     $(AM_CPPFLAGS) -W
> 
> - >8 - Makefile.am - 8< -
> 
> Bert
> 

Regards,
  Stefano




This bug report was last modified 12 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.