summaryrefslogtreecommitdiff
path: root/debian/patches/multiarch_manpages_libdir.patch
blob: cd401265be9914afa56432619214320b26438ff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Use a generic multiarch path in man pages
 Backend location in the man pages is substituted from LIBDIR; use
 a generic /usr/lib/arch_triplet/sane path instead.
Author: Julien BLACHE <jblache@debian.org>

--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -901,7 +901,7 @@
 	@sed -e 's|@DATADIR@|$(datadir)|g' \
 	  -e 's|@CONFIGDIR@|$(configdir)|g' \
 	  -e 's|@DOCDIR@|$(docdir)|g' \
-	  -e 's|@LIBDIR@|$(libdir)/sane|g' \
+	  -e 's|@LIBDIR@|/usr/lib/arch_triplet/sane|g' \
 	  -e 's|@BINDIR@|$(bindir)|g' \
 	  -e 's|@SBINDIR@|$(sbindir)|g' \
 	  -e 's|@PACKAGEVERSION@|$(package_version)|g' $^ >$@