| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/architecture.mk |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all |
| 6 |
|
| 7 |
%scip-debian debian pyotherside 1.6.2-2 pyotherside/rules/`%`().: |
| 8 |
dh $@ --with=sphinxdoc |
| 9 |
|
| 10 |
override_dh_auto_configurescip-debian debian pyotherside 1.6.2-2 pyotherside/rules/override_dh_auto_configure().: |
| 11 |
QT_SELECT=qt5 dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). --builddir=build5 -- .. |
| 12 |
QT_SELECT=qt6 dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). --buildsystem=qmake6 --builddir=build6 -- .. |
| 13 |
|
| 14 |
|
| 15 |
override_dh_auto_buildscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/override_dh_auto_build().: |
| 16 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). --builddir=build6 |
| 17 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). --builddir=build5 |
| 18 |
/usr/share/sphinx/scripts/python3/sphinx-build -b html docs build/sphinx/html |
| 19 |
|
| 20 |
override_dh_auto_installscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/override_dh_auto_install().: |
| 21 |
dh_auto_installscip-debian debian debhelper . dh_auto_install(). --builddir=build6 |
| 22 |
dh_auto_installscip-debian debian debhelper . dh_auto_install(). --builddir=build5 |
| 23 |
|
| 24 |
override_dh_auto_cleanscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/override_dh_auto_clean().: |
| 25 |
dh_auto_cleanscip-debian debian debhelper . dh_auto_clean(). --builddir=build6 |
| 26 |
dh_auto_cleanscip-debian debian debhelper . dh_auto_clean(). --builddir=build5 |
| 27 |
rm -rf build build5 build6 |
| 28 |
|
| 29 |
override_dh_auto_testscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/override_dh_auto_test().: |
| 30 |
ifeq (,$(filterscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/filter. nocheck,$(DEB_BUILD_OPTIONSscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/DEB_BUILD_OPTIONS.))) |
| 31 |
xvfb-run -a ./build5/tests/tests |
| 32 |
xvfb-run -a ./build6/tests/tests |
| 33 |
endif |
| 34 |
|
| 35 |
override_dh_installdocsscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/override_dh_installdocs().: |
| 36 |
dh_installdocsscip-debian debian debhelper . dh_installdocs(). -ppyotherside-doc --doc-main-package=qml-module-io-thp-pyotherside |
| 37 |
dh_installdocsscip-debian debian debhelper . dh_installdocs(). --remaining-packages |
| 38 |
|
| 39 |
execute_after_dh_install-archscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/execute_after_dh_install-arch().: |
| 40 |
install --mode=644 $(CURDIRscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/CURDIR.)/qtquicktests/*.qml $(CURDIRscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/CURDIR.)/qtquicktests/*py debian/pyotherside-tests/usr/lib/$(DEB_HOST_MULTIARCHscip-debian debian pyotherside 1.6.2-2 pyotherside/rules/DEB_HOST_MULTIARCH.)/pyotherside/tests |