diff --git a/debian/compat b/debian/compat index 7ed6ff8..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +7 diff --git a/debian/control b/debian/control index e75f2ae..5a6ae95 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: metche developers Uploaders: Micah Anderson , Jérémy Bobbio -Build-Depends: debhelper (>= 5), po-debconf +Build-Depends: debhelper (>= 7.0.50~), po-debconf Standards-Version: 3.9.1 Homepage: https://labs.riseup.net/code/projects/metche Vcs-Browser: https://labs.riseup.net/code/projects/metche/repository diff --git a/debian/rules b/debian/rules index b0bd13a..ef735fb 100755 --- a/debian/rules +++ b/debian/rules @@ -4,48 +4,18 @@ PACKAGE = metche DESTDIR = $(CURDIR)/debian/$(PACKAGE) -build: build-stamp -build-stamp: - dh_testdir - touch build-stamp +%: + dh $@ -clean: +override_dh_clean: debconf-updatepo - dh_testdir - dh_testroot - rm -f build-stamp - dh_clean + dh_clean -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs +override_dh_install: + dh_install cp $(CURDIR)/metche $(DESTDIR)/usr/sbin cp $(CURDIR)/metche.8 $(DESTDIR)/usr/share/man/man8 chown root:staff $(DESTDIR)/var/lib/metche chmod 750 $(DESTDIR)/var/lib/metche -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_installchangelogs Changelog - dh_installdocs - dh_installexamples - dh_installdebconf - dh_installcron - dh_installman - dh_link - dh_compress - dh_fixperms - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -# Build architecture-dependent files here. -binary-arch: - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +override_dh_auto_build override_dh_auto_clean: