diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-06-23 15:58:44 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-06-23 15:58:44 +0000 |
commit | fdcfb3646161ce8453653997eec4611dfa779b8e (patch) | |
tree | eb65ce91571348016a7506c644a5151aaa24f28f /debian/rules | |
parent | 3aef1b20e669c7ac6e6b10e4d59ff21d842a8d37 (diff) | |
download | pbuilder-fdcfb3646161ce8453653997eec4611dfa779b8e.tar pbuilder-fdcfb3646161ce8453653997eec4611dfa779b8e.tar.gz |
debian/*: move to the debehelper 'dh' sequencer
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 60 |
1 files changed, 10 insertions, 50 deletions
diff --git a/debian/rules b/debian/rules index 7895b1a..1647df8 100755 --- a/debian/rules +++ b/debian/rules @@ -1,56 +1,16 @@ #!/usr/bin/make -f +export DH_VERBOSE=1 -build: build-stamp -build-stamp: - dh_testdir - touch $@ +%: + dh $@ -clean: - dh_testdir - dh_testroot - rm -f build-stamp - $(MAKE) clean - dh_clean +override_dh_auto_install: + dh_auto_install --destdir=$(CURDIR)/debian/pbuilder -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - $(MAKE) check -endif - $(MAKE) install DESTDIR=$(CURDIR)/debian/pbuilder - dh_movefiles -ppbuilder-uml --sourcedir=debian/pbuilder +override_dh_install: + dh_movefiles --sourcedir=debian/pbuilder + dh_install -binary-indep: build install - dh_testdir -i - dh_testroot -i - dh_installdocs -i - dh_installman pbuilder.8 pbuilderrc.5 pdebuild.1 debuild-pbuilder.1 - dh_installchangelogs -i - dh_installdebconf - dh_link -i - dh_compress -i -X.pdf - dh_fixperms -i - dh_installdeb -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i +override_dh_compress: + dh_compress -X.pdf -binary-arch: build install - dh_testdir -s - dh_testroot -s - dh_installdocs -s - dh_installman -ppbuilder-uml pbuilder-user-mode-linux.1 pbuilder-uml.conf.5 pdebuild-user-mode-linux.1 - dh_installchangelogs -s - dh_link -s - dh_compress -s -X.pdf - dh_fixperms -s - dh_installdeb -s - dh_gencontrol -s - dh_md5sums -s - dh_builddeb -s - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install |