2012-04-18 18:17:35 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -- makefile --
|
|
|
|
|
2019-09-04 01:50:17 +02:00
|
|
|
DEB_PYTHON2_MODULE_PACKAGES=ansible ansible_test
|
2019-11-05 16:45:05 +01:00
|
|
|
#DEB_PYTHON_INSTALL_ARGS_ALL="--install-purelib=/usr/lib/python2.7/site-packages/"
|
|
|
|
DEB_PYTHON_DISTUTILS_INSTALLDIR_SKEL = /usr/lib/@PYTHONBINARY@/dist-packages/
|
2016-03-17 18:13:39 +01:00
|
|
|
|
2012-04-18 18:17:35 +02:00
|
|
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
|
|
|
include /usr/share/cdbs/1/class/python-distutils.mk
|
2017-07-12 16:46:26 +02:00
|
|
|
|
2019-11-05 16:45:05 +01:00
|
|
|
# dist-packages for the modern distro, site-packages for the older (e.g: Ubuntu 14.04)
|
2018-02-19 12:24:53 +01:00
|
|
|
ifeq ($(shell lsb_release -cs), precise)
|
|
|
|
export ANSIBLE_CRYPTO_BACKEND = pycrypto
|
|
|
|
endif
|
2017-07-12 23:28:56 +02:00
|
|
|
ifeq ($(shell lsb_release -cs), trusty)
|
2017-07-12 16:46:26 +02:00
|
|
|
export ANSIBLE_CRYPTO_BACKEND = pycrypto
|
|
|
|
endif
|