| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian dm-tree 0.1.9-1 dm-tree/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all |
| 4 |
export PYBUILD_NAMEscip-debian debian dm-tree 0.1.9-1 dm-tree/rules/PYBUILD_NAME.=dm-tree |
| 5 |
|
| 6 |
%scip-debian debian dm-tree 0.1.9-1 dm-tree/rules/`%`().: |
| 7 |
dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 8 |
|
| 9 |
execute_before_dh_sphinxdocscip-debian debian dm-tree 0.1.9-1 dm-tree/rules/execute_before_dh_sphinxdoc().: |
| 10 |
ifeq (,$(findstringscip-debian debian dm-tree 0.1.9-1 dm-tree/rules/findstring. nodoc, $(DEB_BUILD_OPTIONSscip-debian debian dm-tree 0.1.9-1 dm-tree/rules/DEB_BUILD_OPTIONS.))) |
| 11 |
cd $$(pybuild --print build_dir --name dm-tree |head -n1 |awk -F ': ' '{print $$2}'); python3 -m sphinx -b html -N $(CURDIR)/docs $(CURDIR)/debian/python-dm-tree-doc/usr/share/doc/python-dm-tree-doc/html |
| 12 |
endif |