debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 | |
| 7 | %: |
| 8 | dh $@ |
| 9 | |
| 10 | override_dh_auto_test: |
| 11 | ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) |
| 12 | dh_auto_test |
| 13 | export PATH="$(shell pwd)/fsck:$(shell pwd)/dump:$(shell pwd)/mkfs:$$PATH"; \ |
| 14 | cd tests; ./test_fsck.sh |
| 15 | rm tests/exfat.img |
| 16 | endif |
| 17 | |
| 18 | override_dh_installchangelogs: |
| 19 | dh_installchangelogs NEWS |