[Bug 68142] build: Fix out of source directory build
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 21 10:15:08 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=68142
--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
On Bug #59705 I asked:
> Is there an expectation that autogen.sh can always be run in an out-of-tree
> build directory, via its absolute path to the copy in the source directory?
and you never replied. Is there? What projects support or document it?
I haven't seen any particular indication that this cd-to-srcdir behaviour is
something that's (meant to be) widely supported. autogen.sh is a loose
convention, rather than an API: the closest I've seen to a definition of its
"API" is <https://people.gnome.org/~walters/docs/build-api.txt> which
effectively says that "NOCONFIGURE=1 ./autogen.sh" in the srcdir, followed by
$srcdir/configure in the builddir, is the only calling convention that can be
relied on.
I'm reluctant to add complexity if we don't need it - if "NOCONFIGURE=1
./autogen.sh && ( cd $builddir && $srcdir/configure )" is necessary for typical
GNOME projects, and sufficient for us, can't that be our "API"?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list