| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # The "gen" directory is needed for the tests, but the |
| 4 | # binary is not used and must not be installed. |
| 5 | # The file metadecoder_iptc_fields.json is embedded. |
| 6 | export DH_GOLANG_INSTALL_EXTRA := metadecoder_iptc_fields.json \ |
| 7 | gen |
| 8 | export DH_GOLANG_EXCLUDES := gen |
| 9 | |
| 10 | %: |
| 11 | dh $@ --builddirectory=_build --buildsystem=golang |
| 12 | |
| 13 | # The images used for testing are not included in the Debian package, |
| 14 | # due to an unclear licensing/copyright situation. |
| 15 | # Therefore, the testing has to be disabled. |
| 16 | override_dh_auto_test: |