Commits

lyhcode committed 01998e8

remove kindlegen -rebuild params

  • Participants
  • Parent commits 81769c6

Comments (0)

Files changed (1)

sphinx/builders/mobi.py

         EpubBuilder.handle_finish(self)
         _epub_file = os.path.join(self.outdir,
             self.config.epub_basename + '.epub')
-        os.system("kindlegen -c1 -rebuild -verbose %s" % _epub_file)
+        #os.system("kindlegen -c1 -rebuild -verbose %s" % _epub_file)
+        #kindlegen 2.4 not support -rebuild
+        os.system("kindlegen -c1 -verbose %s" % _epub_file)
 
     def get_theme_config(self):
         return self.config.mobi_theme, {}