From 2de887159eebfcb08633e2e2776e7809aa524684 Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Wed, 28 Sep 2016 01:33:19 +0800 Subject: [PATCH] Make use of dh-autoreconf --- debian/control | 5 ++--- debian/control.in | 5 ++--- debian/rules | 8 ++------ 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/debian/control b/debian/control index c412f9c..6392ddc 100644 --- a/debian/control +++ b/debian/control @@ -4,11 +4,10 @@ Priority: optional Maintainer: Debian ZFS on Linux maintainers Uploaders: Aron Xu , Carlos Alberto Lopez Perez -Build-Depends: autoconf, - autogen, - automake, +Build-Depends: autogen, autotools-dev, debhelper (>= 9), + dh-autoreconf, dkms (>> 2.2.0.2-1~), libtool Standards-Version: 3.9.8 diff --git a/debian/control.in b/debian/control.in index c412f9c..6392ddc 100644 --- a/debian/control.in +++ b/debian/control.in @@ -4,11 +4,10 @@ Priority: optional Maintainer: Debian ZFS on Linux maintainers Uploaders: Aron Xu , Carlos Alberto Lopez Perez -Build-Depends: autoconf, - autogen, - automake, +Build-Depends: autogen, autotools-dev, debhelper (>= 9), + dh-autoreconf, dkms (>> 2.2.0.2-1~), libtool Standards-Version: 3.9.8 diff --git a/debian/rules b/debian/rules index 8b693a8..73fb114 100755 --- a/debian/rules +++ b/debian/rules @@ -20,7 +20,7 @@ PACKAGE=spl pmodules = $(PACKAGE)-modules-$(non_epoch_version) %: - dh $@ --with dkms --parallel + dh $@ --with dkms,autoreconf --parallel override_dh_auto_configure: @cp debian/control.in debian/control @@ -28,12 +28,8 @@ override_dh_auto_configure: @# Embed the downstream version in the module. @sed -e 's/^Version:.*/Version: $(VERSION)/' -i.orig META - @# Create the makefiles and configure script. - ./autogen.sh - @# Build the userland, but don't build the kernel modules. - ./configure --prefix=/usr --with-config=user \ - --disable-debug-kmem + dh_auto_configure -- --with-config=user --disable-debug-kmem override_dh_auto_test: # scripts/check.sh tries insmod and rmmod, so it cannot -- 2.39.2