[Pkg-zfsonlinux-devel] [PATCH 3/4] Use dh_auto_configure.

Richard Laager rlaager at wiktel.com
Sun Sep 15 07:19:53 UTC 2013


From: Darik Horn <dajhorn at vanadac.com>

Let debhelper call the ./configure script with automatic options.
---
 debian/rules |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 247d4c4..ac3fff5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,12 +42,11 @@ endif
 	./autogen.sh
 
 	@# Build the userland, but don't build the kernel modules.
-	./configure \
-	  --prefix='' \
-	  --libexecdir=/usr/libexec \
+	dh_auto_configure -- \
+	  --bindir=/bin \
+	  --sbindir=/sbin \
 	  --libdir=/lib \
-	  --includedir=/usr/include \
-	  --datarootdir=/usr/share \
+	  --with-udevdir=/lib/udev \
 	  --with-config=user
 
 override_dh_auto_test:
-- 
1.7.9.5




More information about the Pkg-zfsonlinux-devel mailing list