| 1 | #!/usr/bin/make -f |
| 2 | export DH_VERBOSEscip-makefile . . . DH_VERBOSE. = 1 |
| 3 | |
| 4 | export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME.=aiosmtplib |
| 5 | export PYBUILD_AFTER_INSTALLscip-makefile . . . PYBUILD_AFTER_INSTALL.=rm -rf '{destdir}/{install_dir}/docs' && rm -rf '{destdir}/{install_dir}/.hypothesis' |
| 6 | |
| 7 | %scip-makefile . . . `%`/: |
| 8 | dh $@scip-makefile . . . `@`. --with sphinxdoc --buildsystem=pybuild |
| 9 | |
| 10 | execute_before_dh_installdocsscip-makefile . . . execute_before_dh_installdocs/: |
| 11 | PYTHONPATH=. python3 -m sphinx -N -q -E -b html docs debian/_docs_build/html |
| 12 | cp -a docs debian/_docs_build/rst |
| 13 | |
| 14 | execute_after_dh_compressscip-makefile . . . execute_after_dh_compress/: |
| 15 | ln -sf ../../python3-aiosmtplib-doc/changelog.gz debian/python3-aiosmtplib-doc/usr/share/doc/python3-aiosmtplib/rst/changelog.rst.gz |