2016-09-04 13:42:51 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
# output every command that modifies files on the build system.
|
|
|
|
export DH_VERBOSE = 1
|
2018-03-21 15:47:24 +00:00
|
|
|
# Suppress __pycache__ pollution
|
|
|
|
export PYTHONDONTWRITEBYTECODE = 1
|
2016-09-04 13:42:51 +00:00
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ --with python3 --buildsystem=cmake --parallel
|
|
|
|
|
2018-03-21 15:47:03 +00:00
|
|
|
override_dh_auto_configure:
|
|
|
|
for PYX in $(shell py3versions -rv) ; do \
|
|
|
|
dh_auto_configure --builddirectory=build-$${PYX}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
override_dh_auto_build:
|
|
|
|
for PYX in $(shell py3versions -rv) ; do \
|
|
|
|
dh_auto_build --builddirectory=build-$${PYX}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
|
for PYX in $(shell py3versions -rv) ; do \
|
|
|
|
dh_auto_install --builddirectory=build-$${PYX} --destdir=debian/tmp ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
for PYX in $(shell py3versions -rv) ; do \
|
|
|
|
dh_auto_test --builddirectory=build-$${PYX} || true ; \
|
|
|
|
done
|
|
|
|
|
2016-09-04 13:42:51 +00:00
|
|
|
override_dh_install:
|
|
|
|
echo "Removing UpdateChecker"
|
|
|
|
rm -rfv debian/tmp/usr/lib/uranium/plugins/UpdateChecker
|
|
|
|
dh_install --fail-missing
|