#! /usr/bin/make -f DH_OPTIONS = --parallel --builddir=debian/build %:; dh $@ $(DH_OPTIONS) override_dh_auto_configure: dh_auto_configure -- --with-perlmoddir=/usr/share/perl5 ###-------------------------------------------------------------------------- ### Installation. ### ### Rather than have lots (and /lots/) of little *.install files, we just ### have one big list of everything and split it out as we go. override_dh_clean: dh_clean rm -f debian/*.install debian/*.stamp override_dh_install: debian/install-files.stamp debian/compat-links.stamp dh_install debian/install-files.stamp: debian/inst rm -f debian/*.install debian/*.install.new pkgs=" "; while read file pkg dir; do \ case "$$pkgs" in *" $$pkg "*) ;; *) pkgs="$$pkgs$$pkg ";; esac; \ echo "debian/tmp$$dir/$$file" >>debian/$$pkg.install.new; \ done