#!/usr/bin/make -f ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}') %: dh $* --with autoreconf override_dh_auto_configure: dh_auto_configure -- --with-perl-sitelib-dir=$(ARCHLIB)