summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-12-13 17:46:39 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-12-13 17:46:39 +0100
commitc8cf23699feb55f0b754cfe9c14aced1ba4f56c7 (patch)
tree0d239a01febe1b98d72a35d5afb3d318bf00333e /debian/rules
parente8d15e0ead6e5951b528edcaf2c8cbafdceb3ffe (diff)
Debian bugs#665915, #769196, #772955debian/1.0.24-6
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index a32f858..b04da9d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,9 +27,10 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
endif
%:
- dh $@ --parallel --with autotools_dev, systemd
+ dh $@ --parallel --with autotools_dev,systemd
override_dh_auto_configure:
+ autoconf
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
@@ -124,8 +125,8 @@ endif
chrpath -d debian/sane-utils/usr/bin/sane-find-scanner
override_dh_installinit:
- dh_installinit -psane-utils --name=saned --error-handler=saned_eh
- cp $(CURDIR)/debian/sane-utils.saned.socket $(CURDIR)/debian/sane-utils/lib/systemd/system/saned@.socket
+ dh_installinit -psane-utils --name=saned@ --error-handler=saned_eh
+ cp $(CURDIR)/debian/sane-utils.saned.socket $(CURDIR)/debian/sane-utils/lib/systemd/system/saned.socket
override_dh_strip:
dh_strip --dbg-package=libsane-dbg