]> git.proxmox.com Git - mirror_spl-debian.git/commitdiff
Make use of dh-autoreconf
authorAron Xu <aronxu@gnome.org>
Tue, 27 Sep 2016 17:33:19 +0000 (01:33 +0800)
committerAron Xu <aronxu@gnome.org>
Tue, 27 Sep 2016 18:16:28 +0000 (02:16 +0800)
debian/control
debian/control.in
debian/rules

index c412f9c4d04c2da49837eeb7448a42448bab6e14..6392ddc5354214d3d345d820f969109144a294cb 100644 (file)
@@ -4,11 +4,10 @@ Priority: optional
 Maintainer: Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>
 Uploaders: Aron Xu <aron@debian.org>,
            Carlos Alberto Lopez Perez <clopez@igalia.com>
-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
index c412f9c4d04c2da49837eeb7448a42448bab6e14..6392ddc5354214d3d345d820f969109144a294cb 100644 (file)
@@ -4,11 +4,10 @@ Priority: optional
 Maintainer: Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>
 Uploaders: Aron Xu <aron@debian.org>,
            Carlos Alberto Lopez Perez <clopez@igalia.com>
-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
index 8b693a82a9689fce91a90ecdedd6bb785c8076eb..73fb11406963dd1360bc85947791122fe241c90e 100755 (executable)
@@ -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