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

24 lines
823 B
Diff
Raw Normal View History

2021-02-11 13:23:16 +03:00
--- 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 \