File liboggz-1.1.1-docdir.patch of Package liboggz

Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -12914,7 +12914,7 @@ else
 
 
   EXP_VAR=DOCDIR
-  FROM_VAR=${datadir}/doc
+  FROM_VAR=${docdir}
 
     prefix_save=$prefix
   exec_prefix_save=$exec_prefix
@@ -15327,7 +15327,7 @@ fi
     liboggz: ..................... ${LIBDIR}
     Tools: ....................... ${BINDIR}
     C header files: .............. ${INCLUDEDIR}/oggz
-    Documentation: ............... ${DOCDIR}/$PACKAGE
+    Documentation: ............... ${DOCDIR}
 
   Building:
 
@@ -15362,7 +15362,7 @@ $as_echo "
     liboggz: ..................... ${LIBDIR}
     Tools: ....................... ${BINDIR}
     C header files: .............. ${INCLUDEDIR}/oggz
-    Documentation: ............... ${DOCDIR}/$PACKAGE
+    Documentation: ............... ${DOCDIR}
 
   Building:
 
Index: doc/Makefile.am
===================================================================
--- doc/Makefile.am.orig
+++ doc/Makefile.am
@@ -1,5 +1,3 @@
-docdir=$(prefix)/share/doc/@PACKAGE@
-
 man_MANS = oggz.1 oggz-diff.1 oggz-dump.1 oggz-info.1 oggz-known-codecs.1 oggz-merge.1 oggz-chop.1 \
 	oggz-sort.1 oggz-rip.1 oggz-comment.1 oggz-scan.1 oggz-validate.1 oggz-codecs.1
 
Index: doc/Makefile.in
===================================================================
--- doc/Makefile.in.orig
+++ doc/Makefile.in
@@ -177,7 +177,7 @@ build_vendor = @build_vendor@
 builddir = @builddir@
 datadir = @datadir@
 datarootdir = @datarootdir@
-docdir = $(prefix)/share/doc/@PACKAGE@
+docdir = @docdir@
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
 host = @host@