Currently thunar uses "$(datadir)/doc/Thunar" as base path for installing documentation. What about replacing this by just @docdir@ and/or @htmldir@ and default to "$(datadir)/doc/Thunar" if it is unset. That way one can use the --docdir or --htmldir configure switches. Below are the files which needs to be changed. I am no autotools expert but I have attached a patch to this Gentoo bug [1] which makes thunar behave as intended. Thunar-1.0.1/docs/Makefile.am docdir = $(datadir)/doc/Thunar Thunar-1.0.1/docs/manual/Makefile.am cssdir = $(datadir)/doc/Thunar/html Thunar-1.0.1/docs/manual/lang/Makefile.am TARGET_DIR = $(datadir)/doc/Thunar/html/lang Thunar-1.0.1/docs/manual/lang/images/Makefile.am imagesdir = $(datadir)/doc/Thunar/html/lang/images [1] http://bugs.gentoo.org/296106
*** This bug has been marked as a duplicate of bug 5810 ***