Uranium: Run all dh_auto_* targets for each py3 version
This commit is contained in:
parent
0a91429f89
commit
a327fbc914
|
@ -6,14 +6,27 @@ export DH_VERBOSE = 1
|
|||
%:
|
||||
dh $@ --with python3 --buildsystem=cmake --parallel
|
||||
|
||||
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
|
||||
|
||||
override_dh_install:
|
||||
echo "Removing UpdateChecker"
|
||||
rm -rfv debian/tmp/usr/lib/uranium/plugins/UpdateChecker
|
||||
dh_install --fail-missing
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- \
|
||||
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
|
||||
|
||||
override_dh_auto_test:
|
||||
dh_auto_test || true
|
||||
|
|
Loading…
Reference in New Issue