debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=fades |
| 4 | |
| 5 | # Debian doesn't have dh-translations. |
| 6 | %: |
| 7 | ifneq ($(shell dh -l | grep -xF translations),) |
| 8 | dh $@ --with python3,translations --buildsystem=pybuild |
| 9 | else |
| 10 | dh $@ --with python3 --buildsystem=pybuild |
| 11 | endif |
| 12 | |
| 13 | override_dh_auto_install: |
| 14 | dh_auto_install |
| 15 | rm debian/fades/usr/bin/fades.cmd |
| 16 | |
| 17 | override_dh_auto_test: |
| 18 | # Run on autopkgtests |