#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all include /usr/share/dpkg/buildflags.mk D := $(CURDIR)/debian/varnish-vmod-digest # for aclocal export LIBVARNISHAPI_DATAROOTDIR = $(shell pkg-config --variable=datarootdir varnishapi) %: dh $@ --with varnishabi execute_after_dh_auto_install: rm -rf $D/usr/share/doc/libvmod-digest/ sed -i "/^dependency_libs=/s/'.*'/''/" `find $D -name '*.la'`