@@ -0,0 +1,49 @@
+Author: Günther Deschner <guenther at deschner dot de>
+Subject: Fix doc path
+
+Index: config.h.in
+===================================================================
+--- config.h.in.orig
++++ config.h.in
+@@ -54,7 +54,7 @@
+ * Locations of files...
+ */
+
+-#define DOCUMENTATION "/usr/share/doc/htmldoc"
++#define DOCUMENTATION "/usr/share/doc/packages/htmldoc/doc"
+ #define HTML_DATA "/usr/share/htmldoc"
+
+
+Index: configure.in
+===================================================================
+--- configure.in.orig
++++ configure.in
+@@ -316,7 +316,7 @@ if test "$bindir" = "\${exec_prefix}/bin
+ bindir="$exec_prefix/bin"
+ fi
+
+-AC_DEFINE_UNQUOTED(DOCUMENTATION, "$prefix/share/doc/htmldoc")
++AC_DEFINE_UNQUOTED(DOCUMENTATION, "$prefix/share/doc/packages/htmldoc/doc")
+ AC_DEFINE_UNQUOTED(HTML_DATA, "$prefix/share/htmldoc")
+
+ dnl Update compiler options...
+Index: doc/Makefile
+===================================================================
+--- doc/Makefile.orig
++++ doc/Makefile
+@@ -57,11 +57,11 @@ all: $(DOCUMENTS)
+ #
+
+ install: $(DOCUMENTS)
+- if [ ! -d $(datadir)/doc/htmldoc ]; then\
+- $(MKDIR) $(datadir)/doc/htmldoc;\
++ if [ ! -d $(datadir)/doc/packages/htmldoc ]; then\
++ $(MKDIR) $(datadir)/doc/packages/htmldoc;\
+ fi
+- $(CP) $(DOCFILES) $(datadir)/doc/htmldoc
+- $(CHMOD) ugo+r $(datadir)/doc/htmldoc/*
++ $(CP) $(DOCFILES) $(datadir)/doc/packages/htmldoc
++ $(CHMOD) ugo+r $(datadir)/doc/packages/htmldoc/*
+ if [ ! -d $(mandir)/man1 ]; then\
+ $(MKDIR) $(mandir)/man1;\
+ fi
|