#!/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 ext4, fat32 and disk tests generate their image fixtures with docker, # which a build chroot does not have; debian/patches makes them skip # instead of failing. Every other failure fails the build. dh_auto_test -- -short 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