summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rwxr-xr-xdebian/rules8
2 files changed, 9 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 5c1363e..ec0f7f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,11 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium
* debian/rules:
- Add override_dh_autoreconf to prevend delete of libtool.m4
(Closes: #887032).
+ - Remove outdated configure parameter --enable-translations.
+ - Add configure parameter --enable-parport-directio for better parport
+ handling.
+ - Rename configure parameter --with-docdir to --docdir.
+ - Move backend-writing.txt from new directory.
* debian/copyright:
- Use secure copyright format URI.
* Migrate to debhelper 11:
diff --git a/debian/rules b/debian/rules
index 3d56db8..91512fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,16 +28,16 @@ override_dh_auto_configure:
--localstatedir=/var \
--datadir=\$${prefix}/share \
--mandir=\$${prefix}/share/man \
- --with-docdir=\$${prefix}/share/doc/libsane \
+ --docdir=\$${prefix}/share/doc/libsane \
--disable-locking \
--enable-static \
--enable-pthread \
--with-gphoto2 \
- --enable-translations \
--enable-avahi \
--enable-pnm-backend \
--with-usb \
- --without-v4l
+ --without-v4l \
+ --enable-parport-directio
override_dh_autoreconf:
dh_autoreconf -Xlibtool.m4
@@ -92,7 +92,7 @@ override_dh_installman-indep:
override_dh_installdocs-arch:
dh_installdocs
# move files that belong to libsane-dev
- mv debian/tmp/usr/share/doc/sane-backends/backend-writing.txt debian/libsane-dev/usr/share/doc/libsane-dev/
+ mv debian/tmp/usr/share/doc/libsane/backend-writing.txt debian/libsane-dev/usr/share/doc/libsane-dev/
override_dh_installdocs-indep:
dh_installdocs