diff -up calibre/src/calibre/linux.py.manpages calibre/src/calibre/linux.py --- calibre/src/calibre/linux.py 2010-04-18 16:20:25.000000000 +0200 +++ calibre/src/calibre/linux.py.1 2010-04-18 16:21:41.000000000 +0200 @@ -342,7 +342,7 @@ if isfreebsd: manfile = os.path.join(manpath, prog+'.1') else: - manfile = os.path.join(manpath, prog+'.1'+__appname__+'.bz2') + manfile = os.path.join(manpath, prog+'.1') self.info('\tInstalling MAN page for', prog) open(manfile, 'wb').write(raw) self.manifest.append(manfile) --- calibre/src/calibre/utils/help2man.py 2010-04-18 16:20:25.000000000 +0200 +++ calibre/src/calibre/utils/help2man.py.2 2010-04-18 16:27:11.000000000 +0200 @@ -3,7 +3,7 @@ __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' -import time, bz2 +import time from calibre.constants import isfreebsd from calibre.constants import __version__, __appname__, __author__ @@ -59,7 +59,7 @@ x in lines] if not isfreebsd: - return bz2.compress((u'\n'.join(lines)).encode('utf-8')) + return (u'\n'.join(lines)).encode('utf-8') else: return (u'\n'.join(lines)).encode('utf-8')