summaryrefslogtreecommitdiff
path: root/games-emulation/hatari/files/hatari-1.8.0-gentoo-docdir.patch
blob: 715fb189143fee6f1e09ab6d9db62ccbed921903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- hatari-1.6.1/python-ui/uihelpers.py
+++ hatari-1.6.1/python-ui/uihelpers.py
@@ -97,9 +97,7 @@
         # first try whether there are local Hatari docs in standard place
         # for this Hatari/UI version
         sep = os.sep
-        path = self.get_binary_path("hatari")
-        path = sep.join(path.split(sep)[:-2]) # remove "bin/hatari"
-        path = path + sep + "share" + sep + "doc" + sep + "hatari" + sep
+        path = "@DOCDIR@"
         if os.path.exists(path + "manual.html"):
             return path
         # if not, point to latest Hatari HG version docs