File xfce4-screenshooter-use-docdir.patch of Package xfce4-screenshooter

Index: xfce4-screenshooter-1.8.1/Makefile.am
===================================================================
--- xfce4-screenshooter-1.8.1.orig/Makefile.am
+++ xfce4-screenshooter-1.8.1/Makefile.am
@@ -190,7 +190,7 @@ noinst_DATA = \
 	docs/manual/zh_CN/index.xml
 
 # Asturian documentation
-astdocdir = $(datadir)/xfce4/doc/ast
+astdocdir = $(docdir)/html/ast/
 astdoc_DATA = docs/manual/ast/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -199,7 +199,7 @@ docs/manual/ast/index.html: docs/manual/
 endif
 endif
 
-astimagesdir = $(datadir)/xfce4/doc/ast/images
+astimagesdir = $(docdir)/html/ast/images
 astimages_DATA = \
 	docs/manual/ast/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/ast/images/xfce4-screenshooter-dialog2.png \
@@ -208,7 +208,7 @@ astimages_DATA = \
 
 
 # C documentation
-cdocdir = $(datadir)/doc/xfce4-screenshooter/html/C/
+cdocdir = $(docdir)/html/C/
 cdoc_DATA = docs/manual/C/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -217,7 +217,7 @@ docs/manual/C/index.html: docs/manual/C/
 endif
 endif
 
-cimagesdir = $(datadir)/doc/xfce4-screenshooter/html/C/images
+cimagesdir = $(docdir)/html/C/images
 cimages_DATA = \
 	docs/manual/C/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/C/images/xfce4-screenshooter-dialog2.png \
@@ -226,7 +226,7 @@ cimages_DATA = \
 
 
 # Catalan documentation
-cadocdir = $(datadir)/doc/xfce4-screenshooter/html/ca
+cadocdir = $(docdir)/html/ca
 cadoc_DATA = docs/manual/ca/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -235,7 +235,7 @@ docs/manual/ca/index.html: docs/manual/c
 endif
 endif
 
-caimagesdir = $(datadir)/doc/xfce4-screenshooter/html/ca/images
+caimagesdir = $(docdir)/html/ca/images
 caimages_DATA = \
 	docs/manual/ca/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/ca/images/xfce4-screenshooter-dialog2.png \
@@ -244,7 +244,7 @@ caimages_DATA = \
 
 
 # Danish documentation
-dadocdir = $(datadir)/doc/xfce4-screenshooter/html/da
+dadocdir = $(docdir)/html/da
 dadoc_DATA = docs/manual/da/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -253,7 +253,7 @@ docs/manual/da/index.html: docs/manual/d
 endif
 endif
 
-daimagesdir = $(datadir)/doc/xfce4-screenshooter/html/da/images
+daimagesdir = $(docdir)/html/da/images
 daimages_DATA = \
 	docs/manual/da/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/da/images/xfce4-screenshooter-dialog2.png \
@@ -261,7 +261,7 @@ daimages_DATA = \
 	docs/manual/da/images/xfce4-screenshooter-zimagez-result-dialog.png
 
 # Portuguese documentation
-ptdocdir = $(datadir)/doc/xfce4-screenshooter/html/pt
+ptdocdir = $(docdir)/html/pt
 ptdoc_DATA = docs/manual/pt/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -270,7 +270,7 @@ docs/manual/pt/index.html: docs/manual/p
 endif
 endif
 
-ptimagesdir = $(datadir)/doc/xfce4-screenshooter/html/pt/images
+ptimagesdir = $(docdir)/html/pt/images
 ptimages_DATA = \
 	docs/manual/pt/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/pt/images/xfce4-screenshooter-dialog2.png \
@@ -278,7 +278,7 @@ ptimages_DATA = \
 	docs/manual/pt/images/xfce4-screenshooter-zimagez-result-dialog.png
 
 # Spanish documentation
-esdocdir = $(datadir)/doc/xfce4-screenshooter/html/es
+esdocdir = $(docdir)/html/es
 esdoc_DATA = docs/manual/es/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -287,7 +287,7 @@ docs/manual/es/index.html: docs/manual/e
 endif
 endif
 
-esimagesdir = $(datadir)/doc/xfce4-screenshooter/html/es/images
+esimagesdir = $(docdir)/html/es/images
 esimages_DATA = \
 	docs/manual/es/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/es/images/xfce4-screenshooter-dialog2.png \
@@ -295,7 +295,7 @@ esimages_DATA = \
 	docs/manual/es/images/xfce4-screenshooter-zimagez-result-dialog.png
 
 # French documentation
-frdocdir = $(datadir)/doc/xfce4-screenshooter/html/fr
+frdocdir = $(docdir)/html/fr
 frdoc_DATA = docs/manual/fr/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -304,7 +304,7 @@ docs/manual/fr/index.html: docs/manual/f
 endif
 endif
 
-frimagesdir = $(datadir)/doc/xfce4-screenshooter/html/fr/images
+frimagesdir = $(docdir)/html/fr/images
 frimages_DATA = \
 	docs/manual/fr/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/fr/images/xfce4-screenshooter-dialog2.png \
@@ -312,7 +312,7 @@ frimages_DATA = \
 	docs/manual/fr/images/xfce4-screenshooter-zimagez-result-dialog.png
 
 # Galician documentation
-gldocdir = $(datadir)/doc/xfce4-screenshooter/html/gl
+gldocdir = $(docdir)/html/gl
 gldoc_DATA = docs/manual/gl/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -321,7 +321,7 @@ docs/manual/gl/index.html: docs/manual/g
 endif
 endif
 
-glimagesdir = $(datadir)/doc/xfce4-screenshooter/html/gl/images
+glimagesdir = $(docdir)/html/gl/images
 glimages_DATA = \
 	docs/manual/gl/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/gl/images/xfce4-screenshooter-dialog2.png \
@@ -329,7 +329,7 @@ glimages_DATA = \
 	docs/manual/gl/images/xfce4-screenshooter-zimagez-result-dialog.png
 
 # Indonesian documentation
-iddocdir = $(datadir)/doc/xfce4-screenshooter/html/id
+iddocdir = $(docdir)/html/id
 iddoc_DATA = docs/manual/id/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -338,7 +338,7 @@ docs/manual/id/index.html: docs/manual/i
 endif
 endif
 
-idimagesdir = $(datadir)/doc/xfce4-screenshooter/html/id/images
+idimagesdir = $(docdir)/html/id/images
 idimages_DATA = \
 	docs/manual/id/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/id/images/xfce4-screenshooter-dialog2.png \
@@ -346,7 +346,7 @@ idimages_DATA = \
 	docs/manual/id/images/xfce4-screenshooter-zimagez-result-dialog.png
 
 # Italian documentation
-itdocdir = $(datadir)/doc/xfce4-screenshooter/html/it
+itdocdir = $(docdir)/html/it
 itdoc_DATA = docs/manual/it/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -355,7 +355,7 @@ docs/manual/it/index.html: docs/manual/i
 endif
 endif
 
-itimagesdir = $(datadir)/doc/xfce4-screenshooter/html/it/images
+itimagesdir = $(docdir)/html/it/images
 itimages_DATA = \
 	docs/manual/it/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/it/images/xfce4-screenshooter-dialog2.png \
@@ -363,7 +363,7 @@ itimages_DATA = \
 	docs/manual/it/images/xfce4-screenshooter-zimagez-result-dialog.png
 
 # Japanese documentation
-jadocdir = $(datadir)/doc/xfce4-screenshooter/html/ja
+jadocdir = $(docdir)/html/ja
 jadoc_DATA = docs/manual/ja/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -372,7 +372,7 @@ docs/manual/ja/index.html: docs/manual/j
 endif
 endif
 
-jaimagesdir = $(datadir)/doc/xfce4-screenshooter/html/ja/images
+jaimagesdir = $(docdir)/html/ja/images
 jaimages_DATA = \
 	docs/manual/ja/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/ja/images/xfce4-screenshooter-dialog2.png \
@@ -380,7 +380,7 @@ jaimages_DATA = \
 	docs/manual/ja/images/xfce4-screenshooter-zimagez-result-dialog.png
 
 # Turkish documentation
-trdocdir = $(datadir)/doc/xfce4-screenshooter/html/tr
+trdocdir = $(docdir)/html/tr
 trdoc_DATA = docs/manual/tr/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -389,7 +389,7 @@ docs/manual/tr/index.html: docs/manual/t
 endif
 endif
 
-trimagesdir = $(datadir)/doc/xfce4-screenshooter/html/tr/images
+trimagesdir = $(docdir)/html/tr/images
 trimages_DATA = \
 	docs/manual/tr/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/tr/images/xfce4-screenshooter-dialog2.png \
@@ -398,7 +398,7 @@ trimages_DATA = \
 
 
 # Siplified Chinese documentation
-zhcndocdir = $(datadir)/doc/xfce4-screenshooter/html/zh_CN
+zhcndocdir = $(docdir)/html/zh_CN
 zhcndoc_DATA = docs/manual/zh_CN/index.html
 if MAINTAINER_MODE
 if ENABLE_XSLTPROC
@@ -407,7 +407,7 @@ docs/manual/zh_CN/index.html: docs/manua
 endif
 endif
 
-zhcnimagesdir = $(datadir)/doc/xfce4-screenshooter/html/zh_CN/images
+zhcnimagesdir = $(docdir)/html/zh_CN/images
 zhcnimages_DATA = \
 	docs/manual/zh_CN/images/xfce4-screenshooter-dialog1.png \
 	docs/manual/zh_CN/images/xfce4-screenshooter-dialog2.png \
openSUSE Build Service is sponsored by