--- pyview.1.orig 2011-05-23 00:01:24.000000000 +0200 +++ pyview.1 2011-05-23 00:01:29.000000000 +0200 @@ -62,4 +62,4 @@ .SH SEE ALSO The full documentation which includes the keys descriptions is in -/usr/share/doc/lfm/README.pyview. +@@DOCDIR@@/lfm/README.pyview. --- lfm/actions.py.orig 2011-05-23 00:01:33.000000000 +0200 +++ lfm/actions.py 2011-05-23 00:01:40.000000000 +0200 @@ -876,7 +876,7 @@ return cmd = cmd[0] curses.endwin() - docdir = os.path.join(sys.exec_prefix, 'share/doc/lfm') + docdir = '@@DOCDIR@@' docfile = { 'r': 'README', 'v': 'README.pyview', 'n': 'NEWS', 't': 'TODO', 'c': 'ChangeLog', 'l': 'COPYING' }.get(cmd) fullfilename = os.path.join(docdir, docfile) --- lfm.1.orig 2011-05-23 00:01:12.000000000 +0200 +++ lfm.1 2011-05-23 00:01:22.000000000 +0200 @@ -59,4 +59,4 @@ .SH SEE ALSO The full documentation which includes the keys descriptions is in -/usr/share/doc/lfm/README. +@@DOCDIR@@/lfm/README.