X-Git-Url: https://git.distorted.org.uk/~mdw/misc/blobdiff_plain/22fb157c9459f0d07eb46d09370c27d3e57a437c..fecd6134e3c87cca40eb4f48c4da1df1d86fed7d:/debian/rules?ds=sidebyside diff --git a/debian/rules b/debian/rules index d987ec6..5352d04 100755 --- a/debian/rules +++ b/debian/rules @@ -1,57 +1,38 @@ #! /usr/bin/make -f -export DH_COMPAT = 4 +DH_OPTIONS = --parallel --builddir=debian/build +%:; dh $@ $(DH_OPTIONS) -build: - make - touch build +override_dh_auto_configure: + dh_auto_configure -- --with-perlmoddir=/usr/share/perl5 -clean: - dh_clean - make clean - rm -f build +###-------------------------------------------------------------------------- +### 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. -install: build +override_dh_clean: dh_clean - while read file package dir; do \ - mkdir -p debian/$$package$$dir; \ - cp $$file debian/$$package$$dir/$$file; \ - done >debian/$$pkg.install.new; \ + done