Overlay/media-gfx/gqview/files/gqview-2.1.5-helpdir.patch

24 lines
823 B
Diff

--- a/configure.in
+++ b/configure.in
@@ -19,8 +19,8 @@ fi
AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR(GTK+ >= 2.4.0 not installed.))
-AC_DEFINE_UNQUOTED(GQVIEW_HELPDIR, "$prefix/share/doc/gqview-$VERSION", [Location of documentation files])
-AC_DEFINE_UNQUOTED(GQVIEW_HTMLDIR, "$prefix/share/doc/gqview-$VERSION/html", [Location of html documentation])
+AC_DEFINE_UNQUOTED(GQVIEW_HELPDIR, "$docdir", [Location of documentation files])
+AC_DEFINE_UNQUOTED(GQVIEW_HTMLDIR, "$docdir/html", [Location of html documentation])
dnl checks for functions
AC_CHECK_FUNCS(strverscmp)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in.
-helpdir = $(datadir)/doc/gqview-$(VERSION)/html
+helpdir = $(docdir)/html
help_DATA = \
gnu_fdl.txt \
gqview_faq.html \