| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian pycairo 1.27.0-2 pycairo/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all |
| 4 |
|
| 5 |
include /usr/share/dpkg/architecture.mk |
| 6 |
|
| 7 |
ifneq ($(DEB_BUILD_ARCHscip-debian debian pycairo 1.27.0-2 pycairo/rules/DEB_BUILD_ARCH.),$(DEB_HOST_ARCHscip-debian debian pycairo 1.27.0-2 pycairo/rules/DEB_HOST_ARCH.)) |
| 8 |
export _PYTHON_SYSCONFIGDATA_NAMEscip-debian debian pycairo 1.27.0-2 pycairo/rules/_PYTHON_SYSCONFIGDATA_NAME.=_sysconfigdata__$(DEB_HOST_ARCH_OSscip-debian debian pycairo 1.27.0-2 pycairo/rules/DEB_HOST_ARCH_OS.)_$(DEB_HOST_MULTIARCHscip-debian debian pycairo 1.27.0-2 pycairo/rules/DEB_HOST_MULTIARCH.) |
| 9 |
endif |
| 10 |
|
| 11 |
%scip-debian debian pycairo 1.27.0-2 pycairo/rules/`%`().: |
| 12 |
dh $@ --buildsystem=meson |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
override_dh_auto_configurescip-debian debian pycairo 1.27.0-2 pycairo/rules/override_dh_auto_configure().: |
| 17 |
$(foreach PYVERSION,$(shell py3versions -s),dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). --builddir=obj-$(PYVERSIONscip-debian debian pycairo 1.27.0-2 pycairo/rules/PYVERSION.) -- -Dpython=$(PYVERSIONscip-debian debian pycairo 1.27.0-2 pycairo/rules/PYVERSION.); ) |
| 18 |
|
| 19 |
override_dh_auto_buildscip-debian debian pycairo 1.27.0-2 pycairo/rules/override_dh_auto_build().: |
| 20 |
$(foreach PYVERSION,$(shell py3versions -s),dh_auto_buildscip-debian debian debhelper . dh_auto_build(). --builddir=obj-$(PYVERSIONscip-debian debian pycairo 1.27.0-2 pycairo/rules/PYVERSION.) -- ; ) |
| 21 |
|
| 22 |
override_dh_auto_installscip-debian debian pycairo 1.27.0-2 pycairo/rules/override_dh_auto_install().: |
| 23 |
$(foreach PYVERSION,$(shell py3versions -s),dh_auto_installscip-debian debian debhelper . dh_auto_install(). --builddir=obj-$(PYVERSIONscip-debian debian pycairo 1.27.0-2 pycairo/rules/PYVERSION.) -- ; ) |
| 24 |
|
| 25 |
|
| 26 |
override_dh_auto_test-indepscip-debian debian pycairo 1.27.0-2 pycairo/rules/override_dh_auto_test-indep().: |
| 27 |
|
| 28 |
override_dh_auto_testscip-debian debian pycairo 1.27.0-2 pycairo/rules/override_dh_auto_test().: |
| 29 |
$(foreach PYVERSION,$(shell py3versions -s),dh_auto_testscip-debian debian debhelper . dh_auto_test(). --builddir=obj-$(PYVERSIONscip-debian debian pycairo 1.27.0-2 pycairo/rules/PYVERSION.) -- ; ) |
| 30 |
|
| 31 |
execute_after_dh_auto_build-indepscip-debian debian pycairo 1.27.0-2 pycairo/rules/execute_after_dh_auto_build-indep().: |
| 32 |
python3 -m sphinx -bhtml docs debian/tmp-doc/html |
| 33 |
|
| 34 |
sed -ir 's|src="https:[^"]*|src="|' debian/tmp-doc/html/index.html |
| 35 |
|
| 36 |
execute_after_dh_auto_cleanscip-debian debian pycairo 1.27.0-2 pycairo/rules/execute_after_dh_auto_clean().: |
| 37 |
rm -rf debian/tmp-doc |
| 38 |
|
| 39 |
|
| 40 |
override_dh_installchangelogsscip-debian debian pycairo 1.27.0-2 pycairo/rules/override_dh_installchangelogs().: |
| 41 |
dh_installchangelogsscip-debian debian debhelper . dh_installchangelogs(). -Xchangelog |