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