debian/rules: Switch to using debhelper 9 directly.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 13 Mar 2012 21:29:51 +0000 (21:29 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 13 Mar 2012 21:34:30 +0000 (21:34 +0000)
Makefile
debian/compat [new file with mode: 0644]
debian/rules

index 49a157c..781b35a 100644 (file)
--- 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 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
index 3d24648..cade6f7 100755 (executable)
@@ -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