]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - debian/rules
Make use of dh-autoreconf
[mirror_spl-debian.git] / debian / rules
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