diff options
author | Simon McVittie <smcv@debian.org> | 2016-02-22 16:04:33 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2016-02-22 16:04:33 +0000 |
commit | 7fd4c59f906cec2d6b87fde795a72499314273ee (patch) | |
tree | aca5c09a5316f986245bed5c3888873e22a9d863 | |
parent | afcf3e432efa8bed73c714d03062fbf53cc76bdf (diff) | |
download | dbus-python-7fd4c59f906cec2d6b87fde795a72499314273ee.tar.gz |
Disable Automake maintainer mode when building via setup.py
pip doesn't preserve timestamps in tarballs, so half the build system
is going to look as though it has been changed.
Signed-off-by: Simon McVittie <smcv@debian.org>
-rw-r--r-- | configure.ac | 5 | ||||
-rwxr-xr-x | setup.py | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a80d046..65c59e1 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,11 @@ AC_CONFIG_AUX_DIR([build-aux]) m4_pattern_forbid([^AX_], [Unexpanded AX_ macro found. Please install GNU autoconf-archive]) +# By default, rebuild autotools files on demand; only use ./missing if the +# user says --disable-maintainer-mode (in particular this is useful when +# running under pip, which does not preserve timestamps) +AM_MAINTAINER_MODE([enable]) + AX_IS_RELEASE([micro-version]) AC_DEFINE(DBUS_PYTHON_MAJOR_VERSION, dbus_python_major_version, [dbus-python major version]) AC_SUBST(DBUS_PYTHON_MAJOR_VERSION, dbus_python_major_version) @@ -53,6 +53,7 @@ class Build(Distribution().get_command_class('build')): subprocess.check_call([ configure, + '--disable-maintainer-mode', 'PYTHON=' + sys.executable, # Put the documentation, etc. out of the way: we only want # the Python code and extensions |