debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | |
| 4 | %: |
| 5 | dh $@ --with python3 |
| 6 | |
| 7 | override_dh_install: |
| 8 | install -m644 -D networkd-dispatcher.conf debian/networkd-dispatcher/etc/default/networkd-dispatcher |
| 9 | dh_install |
| 10 | |
| 11 | override_dh_auto_test: |
| 12 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 13 | pytest-3 |
| 14 | endif |
| 15 | |
| 16 | override_dh_python3: |
| 17 | # Deletes all my /usr/lib/networkd-dispatcher dirs... |
| 18 | dh_python3 --skip-private |