Exclude python bindings for `make distcheck`

setuptools does now allow us to install custom location without hack.
Also it does not provide uninstall feature, and `make uninstall`
leaves several files we cannot easily remove (e.g., easy-install.pth).
Therefore, it is better just exclude python bindings from `make
distcheck`.
This commit is contained in:
Tatsuhiro Tsujikawa 2015-07-15 01:16:56 +09:00
parent 5e966d000a
commit 3db03a3f51
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@
SUBDIRS = lib third-party src examples python tests integration-tests \ SUBDIRS = lib third-party src examples python tests integration-tests \
doc contrib script doc contrib script
# Now with python setuptools, make uninstall will leave many files we
# cannot easily remove (e.g., easy-install.pth). Disable it for
# distcheck rule.
AM_DISTCHECK_CONFIGURE_FLAGS = --disable-python-bindings
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
dist_doc_DATA = README.rst dist_doc_DATA = README.rst