X-Git-Url: https://git.distorted.org.uk/~mdw/preload-hacks/blobdiff_plain/2906706dbaeb4eb4142f928d1ead0812461f2e78..cd1daebf00d3d707a6ff41b8ae60185b4ccc93c0:/debian/rules diff --git a/debian/rules b/debian/rules index 6739f8f..cade6f7 100755 --- a/debian/rules +++ b/debian/rules @@ -1,48 +1,8 @@ #! /usr/bin/make -f -export DH_COMPAT = 4 +%:; dh $@ --parallel -build: - make clean - make - touch build - -clean: - dh_clean - make clean - -install: build - dh_clean - make install \ - prefix=/usr \ - mandir=/usr/share/man \ - DESTDIR=`pwd`/debian/tmp - dh_install --sourcedir=debian/tmp - rm -rf debian/tmp - -binary-indep: - -binary-arch: install - dh_testdir -a - dh_testroot -a - dh_compress -a - dh_installdocs -a - dh_strip -a - dh_shlibdeps -a - dh_gencontrol -a - dh_fixperms -a - dh_installdeb -a - dh_md5sums -a - dh_builddeb -a - -binary: binary-indep binary-arch - -source: - rm -rf deb-dist.tar.gz =deb= - make dist DISTTAR=deb-dist.tar.gz - mkdir =deb= - cd =deb=; tar xvfz ../deb-dist.tar.gz - d=`pwd`; cd ..; dpkg-source -i -i'/\.svn/' -b $$d/=deb=/* - rm -rf deb-dist.tar.gz =deb= - -.PHONY: binary binary-arch binary-indep clean install source +override_dh_auto_install: + dh_auto_install --parallel -- \ + prefix=/usr mandir=/usr/share/man \ + DESTDIR=debian/tmp