#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk # DEB_VERSION export DH_GOLANG_EXCLUDES := docs/cli %: dh $@ --builddirectory=_build --buildsystem=golang B = $(CURDIR)/debian/tmp/usr/bin M = $(CURDIR)/debian/tmp/usr/share/man/man1 ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) execute_before_dh_installman-arch: mkdir -pv $(M) help2man --version-string="$(DEB_VERSION)" \ --no-info \ --name="security layer for git(1) repositories" \ --output $(M)/gittuf.1 \ $(B)/gittuf help2man --version-string="$(DEB_VERSION)" \ --no-info --no-discard-stderr \ --name="gittuf remote plugin for git" \ --output $(M)/git-remote-gittuf.1 \ $(B)/git-remote-gittuf endif