summaryrefslogtreecommitdiff
path: root/debian/patches/0025-multiarch_manpages_libdir.patch
blob: d0b262d4ef1649ab199b9eb3f59f637614a3dc14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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: trunk/doc/Makefile.in
===================================================================
--- trunk.orig/doc/Makefile.in
+++ trunk/doc/Makefile.in
@@ -906,7 +906,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' $^ >$@
Index: trunk/doc/Makefile.am
===================================================================
--- trunk.orig/doc/Makefile.am
+++ trunk/doc/Makefile.am
@@ -107,7 +107,7 @@ MAN2HTML= nroff -c -man |\
 	@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' $^ >$@