| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # To make debian/rules clean work even when setup.py doesn't exist |
| 4 | # because our patches are not applied |
| 5 | override_dh_auto_clean: |
| 6 | [ ! -e setup.py ] || dh_auto_clean |
| 7 | |
| 8 | # using pybuild for install |
| 9 | # pig.py is properly named dhcpig |
| 10 | execute_after_dh_install: |
| 11 | mv $(CURDIR)/debian/dhcpig/usr/bin/pig.py $(CURDIR)/debian/dhcpig/usr/bin/dhcpig |
| 12 | |
| 13 | %: |
| 14 | dh $@ --buildsystem=pybuild |