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
@# 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