From c2ca886a8047b6214d66ecd04db8a39cd3508e03 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 13 Mar 2012 21:29:51 +0000 Subject: [PATCH] debian/rules: Switch to using debhelper 9 directly. --- Makefile | 2 +- debian/compat | 1 + debian/rules | 13 +++++-------- 3 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 debian/compat diff --git a/Makefile b/Makefile index 49a157c..781b35a 100644 --- a/Makefile +++ b/Makefile @@ -125,7 +125,7 @@ DISTFILES += COPYING ## Debian. debpkg = noip uopen DISTFILES += debian/changelog debian/copyright -DISTFILES += debian/control debian/rules +DISTFILES += debian/control debian/rules debian/compat DISTFILES += $(patsubst %, debian/%.install, $(debpkg)) DISTFILES += $(patsubst %, debian/%.lintian-overrides, \ $(debpkg)) diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/rules b/debian/rules index 3d24648..cade6f7 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,8 @@ #! /usr/bin/make -f -CDBS = /usr/share/cdbs/1 +%:; dh $@ --parallel -include $(CDBS)/rules/debhelper.mk -include $(CDBS)/class/makefile.mk - -DEB_MAKE_CLEAN_TARGET = clean -DEB_MAKE_INSTALL_TARGET = install \ - prefix=/usr mandir=/usr/share/man \ - DESTDIR=debian/tmp +override_dh_auto_install: + dh_auto_install --parallel -- \ + prefix=/usr mandir=/usr/share/man \ + DESTDIR=debian/tmp -- 2.11.0