GNU bug report logs - #15919
subdir-objects and path in variable

Previous Next

Package: automake;

Reported by: Oleg Latin <jujulicca <at> gmail.com>

Date: Mon, 18 Nov 2013 16:53:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Oleg Latin <jujulicca <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: subdir-objects and path in variable
Date: Mon, 18 Nov 2013 20:49:51 +0400
[Message part 1 (text/plain, inline)]
When subdir-objects option is enabled (without subdir-objects all works
fine) and xxx_SOURCES contains paths stored in variables when automake
tries to create directory named by variable name not value. For example:

FOO=/path/to/foo
foo_SOURCES=$(FOO)/bar.cpp

Automake tries create directory $(FOO) not /path/to/foo, and make can not
find dependencies.
I attached minimal example. It use non recursive make, but recursive make
also fails.

In attached project problem seems to be in line 310 in generated
Makefile.in. If I replace $(XXXDIR) with xxx manually, then all works fine.

I use autoconf 2.69, automake 1.12.1 and gmake 3.82.
[Message part 2 (text/html, inline)]
[subdir-objects-bug-0.tar.gz (application/x-gzip, attachment)]

This bug report was last modified 11 years and 36 days ago.

Previous Next


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