debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ |
| 5 | |
| 6 | # test files are changed during tests |
| 7 | # we copy t/ away and move it back afterwards |
| 8 | override_dh_auto_clean: |
| 9 | dh_auto_clean |
| 10 | [ ! -d $(CURDIR)/t.save ] || ( $(RM) -r $(CURDIR)/t && mv $(CURDIR)/t.save $(CURDIR)/t ) |
| 11 | |
| 12 | override_dh_auto_test: |
| 13 | [ ! -d $(CURDIR)/t ] || cp -r $(CURDIR)/t $(CURDIR)/t.save |
| 14 | dh_auto_test |