modular: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Sun Nov 20 01:05:36 UTC 2016
release.sh | 45 +++++++++++++++++++++++++--------------------
1 file changed, 25 insertions(+), 20 deletions(-)
New commits:
commit 663364cda5e316a0509ff5869293e3a815b9945f
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Fri Nov 11 15:45:29 2016 +0000
release.sh: run ./configure within the release.sh
At the moment one has to run autogen.sh/configure in their checkout
prior to using release.sh
We can "spare" that by folding it into the script. As a side effect this
gives us a number of nice benefits:
- We can check/error out if build artefacts are present.
There's a noticeable number of projects which use srcdir _before_
builddir in their C*FLAGS.
- Can catch local hacks and workarounds for "broken" configure scripts.
By definition one should be able to run the following without ever
having problems.
$ ./autogen.sh --prefix=`pwd`/foo && make && make install
At the same time, there's a number of projects which would a) attempt to
install things outside of `pwd`/foo and/or b) otherwise require elevated
privileges during make install.
Some of those are 'managed' by using custom configure options and
feeding those to AM_DISTCHECK_CONFIGURE_FLAGS.
Let's avoid this by generating a unique build dir (./build.XXXXXXXXXX)
and doing the dist/build/check in there.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
More information about the xorg-commit
mailing list