#!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}') %: dh $@ override_dh_auto_install: dh_auto_install # installed as example $(RM) -v $(TMP)/$(ARCHLIB)/Audio/volume.pl