debian: call upstream configure script directly
authorDavid Bremner <david@tethera.net>
Mon, 4 May 2015 07:43:52 +0000 (09:43 +0200)
committerDavid Bremner <david@tethera.net>
Mon, 4 May 2015 08:07:44 +0000 (10:07 +0200)
dh defaults for dh_auto_configure are now incompatible with notmuch's
homebrew configure script (at least in debian experimental)

debian/rules

index 7a19445e93a2a3f1882c4f339bc525643fa2b126..56378ecd66827c6c1391c7e9011319153352c341 100755 (executable)
@@ -6,7 +6,14 @@ python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {}
        dh $@ --with python2,python3
 
 override_dh_auto_configure:
-       dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch
+       ./configure --prefix=/usr \
+               --libdir=/usr/lib/$$(dpkg-architecture -q DEB_TARGET_MULTIARCH) \
+               --includedir=/usr/include \
+               --mandir=/usr/share/man \
+               --infodir=/usr/share/info \
+               --sysconfdir=/etc \
+               --localstatedir=/var \
+               --emacslispdir=/usr/share/emacs/site-lisp/notmuch
 
 override_dh_auto_build:
        dh_auto_build -- V=1