debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | #export DH_VERBOSE=1 |
| 3 | |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 | |
| 6 | execute_before_dh_auto_build: |
| 7 | mkdir -pv bin |
| 8 | |
| 9 | execute_after_dh_auto_test: |
| 10 | mkdir -pv debian/tests/pcap/ |
| 11 | ifeq ($(DEB_BUILD_ARCH_ENDIAN),little) |
| 12 | for i in tests/pcap/*;do ./bin/bittwiste -I "$$i" -O debian/"$$i";done |
| 13 | endif |
| 14 | |
| 15 | %: |
| 16 | dh $@ |