automake
[Top][All Lists]
Advanced

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

Re: how to make "make all" and "make distcheck" *both* work???


From: Alexandre Duret-Lutz
Subject: Re: how to make "make all" and "make distcheck" *both* work???
Date: Sun, 09 Apr 2006 16:21:33 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

[...]
| "make all" works if I use "AM_CPPFLAGS = -I ../lib" in the Makefile.am
| of the exe, but than "make distcheck" does not work (hello.hpp cannot be
| found)

That would be AM_CPPFLAGS = -I$(srcdir)/../lib

| Can anyone give me a hint or a complet working example that is just as
| simple as my example

Sure.  See this tutorial
http://www-src.lip6.fr/homepages/Alexandre.Duret-Lutz/autotools.html
slides 86 (VPATH builds) and 87 (using a library like you did).

-- 
Alexandre Duret-Lutz

Shared books are happy books.     http://www.bookcrossing.com/friend/gadl





reply via email to

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