#! /usr/bin/make -f include /usr/share/dpkg/pkg-info.mk # DEB_VERSION export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ --without autoreconf --builddirectory=debian/build execute_before_dh_auto_configure: autoreconf -fvi 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) env LD_LIBRARY_PATH=$(wildcard $(CURDIR)/debian/tmp/usr/lib/*) \ help2man --version-string="$(DEB_VERSION)" \ --name="Sigsum Verify" \ --no-info \ $(B)/sigsum-c-verify -o $(M)/sigsum-c-verify.1 endif