This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Path variables and path substitution


>>> "John" == John Ling <jling@bioinformatics.ubc.ca> writes:

[...]

 John> mylib_a_SOURCES = $(MYDIR)/app.cpp

 John> However, when I try this, everytime I run configure for some reason I
 John> get dependency errors saying it can't find the app.Po file in the
 John> .dep/ directory.  In addition, it creates a subdirectory that is
 John> literally called '$(MYDIR)' which is not what I intend to happen.

 John> How do I do this path variable substitution?

Right now you cannot use any variable as part of a filename that
occurs in a _SOURCES variable.  This is PR/325.  You can only use
plain filenames, or variables that contain entire filenames.
-- 
Alexandre Duret-Lutz




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]