summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-08-06 09:15:27 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-08-06 09:15:27 +0200
commit68de201c82a0a0f71d2f85072215979278cb3072 (patch)
tree2b4c20a46290ba7f71ea1cb31c0f19f3a1010d7f /debian/rules
parent06c412bfa69243f7c18ed7cf1b7a615fd27181e6 (diff)
Move install of man pages from debian/rules to *.manpages
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules10
1 files changed, 8 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index fb48f8f..0cbf6ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,8 +80,6 @@ override_dh_install-arch:
# Install the pkg-config file
mkdir -p debian/libsane-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/
cp tools/sane-backends.pc debian/libsane-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/
- mkdir -p $(CURDIR)/debian/sane-utils/usr/share/man/man5/
- cp $(CURDIR)/doc/sane-umax_pp.man $(CURDIR)/debian/sane-utils/usr/share/man/man5/umax_pp.5
override_dh_install-indep:
dh_install
@@ -90,6 +88,14 @@ override_dh_install-indep:
$(CURDIR)/tools/sane-desc -s $(CURDIR)/doc/descriptions -m hal-new > \
$(CURDIR)/debian/libsane-common/usr/share/hal/fdi/preprobe/10osvendor/20-libsane.fdi
+override_dh_installman-indep:
+ dh_installman
+ $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man1/gamma4scanimage.1
+ $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man1/sane-find-scanner.1
+ $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man1/scanimage.1
+ $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man5/sane-umax_pp.5
+ $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man8/saned.8
+
override_dh_installdocs-arch:
dh_installdocs
# move files that belong to libsane-dev