bug-automake
[Top][All Lists]
Advanced

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

Re: Double '/' in source path breaks compilation if done from a director


From: Mike Frysinger
Subject: Re: Double '/' in source path breaks compilation if done from a directory not where the Makefile.am resides
Date: Thu, 27 Nov 2008 14:13:32 -0500
User-agent: KMail/1.10.3 (Linux/2.6.27.4; KDE/4.1.3; x86_64; ; )

On Tuesday 25 November 2008 05:16:09 Aleksander Morgado wrote:
> Also, if I use $(srcdir) to mark the top level path of the sources, it
> won't crash. But not sure if this is the best way to have it:
>
> test_SOURCES = config.h \
>                $(srcdir)/src/module//test.c

afaik, this is correct.  the issue has nothing to do with multiple slashes, 
but your Makefile is not properly written to handle srcdir != builddir.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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