1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export QT_SELECT=qt5
%:
dh $@ --with=sphinxdoc
override_dh_auto_build:
dh_auto_build
/usr/share/sphinx/scripts/python3/sphinx-build -b html docs build/sphinx/html
override_dh_auto_clean:
dh_auto_clean
rm -rf build
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
xvfb-run -a ./tests/tests
endif
override_dh_installdocs:
dh_installdocs -ppyotherside-doc --doc-main-package=qml-module-io-thp-pyotherside
dh_installdocs --remaining-packages
execute_after_dh_install-arch:
install --mode=644 $(CURDIR)/qtquicktests/*.qml $(CURDIR)/qtquicktests/*py debian/pyotherside-tests/usr/lib/$(DEB_HOST_MULTIARCH)/pyotherside/tests
|