summaryrefslogtreecommitdiff
path: root/debian/patches/multiarch_manpages_libdir.patch
blob: 12b66a0de0f819136f934ad8e2ac5a2bf15f154c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>

Index: experimental/doc/Makefile.in
===================================================================
--- experimental.orig/doc/Makefile.in
+++ experimental/doc/Makefile.in
@@ -902,7 +902,7 @@ all: bemans $(STANDARD) html-pages
 	@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' $^ >$@