| 1 | #! /usr/bin/make -f |
| 2 | |
| 3 | # See debhelper(7) (uncomment to enable). |
| 4 | # Output every command that modifies files on the build system. |
| 5 | #export DH_VERBOSE = 1 |
| 6 | |
| 7 | export PYBUILD_NAME = doh-cli |
| 8 | # https://www.debian.org/doc/packaging-manuals/python-policy/#types-of-python-modules |
| 9 | export PYBUILD_INSTALL_DIR=/usr/share/doh-cli |
| 10 | export PYBUILD_AFTER_INSTALL= \ |
| 11 | rm -vrf {destdir}$(PYBUILD_INSTALL_DIR)/doh_cli-*.dist-info/licenses && \ |
| 12 | mv -v {destdir}/usr/bin/doh-cli {destdir}$(PYBUILD_INSTALL_DIR) |
| 13 | |
| 14 | %: |
| 15 | dh $@ --with python3 --with shell_completions --buildsystem=pybuild |