debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_INSTALL_ARGS_python3=--install-lib=usr/share/gufw\ |
| 4 | --install-scripts=usr/bin |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=pybuild |
| 8 | |
| 9 | override_dh_auto_clean: |
| 10 | dh_auto_clean -- |
| 11 | if [ -f "debian/gufw.pot" ]; then \ |
| 12 | mv debian/gufw.pot po/gufw.pot; \ |
| 13 | fi |
| 14 | |
| 15 | override_dh_auto_build: |
| 16 | # create a copy of po/gufw.pot before build as it is changed by setup.py |
| 17 | cp po/gufw.pot debian/gufw.pot |
| 18 | dh_auto_build -- |