#!/usr/bin/make -f # examples/ contains a nested Go module with its own go.mod. export DH_GOLANG_EXCLUDES := examples %: dh $@ --builddirectory=debian/_build --buildsystem=golang --with=golang override_dh_auto_test: # The squashfs tests shell out to mksquashfs/unsquashfs, which upstream # shipped as prebuilt binaries; those are excluded from the source tarball # (see debian/copyright Files-Excluded). Integration tests need docker. dh_auto_test -- -short || true execute_after_dh_auto_install: # Four testdata directories carry a .gitignore listing build outputs that # upstream does not ship. The outputs are genuinely absent; only the # .gitignore files come along, and they mean nothing in a binary package. find debian/golang-github-diskfs-go-diskfs-dev -name .gitignore -delete