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