| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export BUILDDIR := _build |
| 4 | |
| 5 | %: |
| 6 | dh $@ --builddirectory=$(BUILDDIR) --buildsystem=golang --with=golang |
| 7 | |
| 8 | debian/%.1: debian/%.1.md |
| 9 | pandoc --standalone --from=markdown-smart --to=man --output=$@ $< |
| 10 | |
| 11 | override_dh_installman: debian/apkverifier.1 |
| 12 | dh_installman |
| 13 | |
| 14 | # github.com/avast/apkverifier/signingblock requires a large, external dataset, |
| 15 | # and disabling a single test here is really painful |
| 16 | override_dh_auto_test: |
| 17 | echo "WARNING: test suite only run in autopkgtest, needs external test files" |
| 18 | |
| 19 | # dwz: debian/apkverifier/usr/bin/apkverifier: .debug_info section not present |
| 20 | override_dh_dwz: |
| 21 | echo skipped |