debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=ddupdate |
| 4 | export PYBUILD_AFTER_CONFIGURE= \ |
| 5 | sed -i '/glob/s|systemd_unitdir()|"lib/systemd/user"|' setup.py |
| 6 | export PYBUILD_AFTER_INSTALL= \ |
| 7 | sed -i -e 's|=.*/usr|= /usr|' -e '/^root/d' \ |
| 8 | {destdir}{install_dir}/ddupdate/install.conf |
| 9 | |
| 10 | %: |
| 11 | dh $@ --with python3 --buildsystem=pybuild |