While not Sigil nor kindlegen specific, I have used the command line mobigen (kindlegen's predecessor) in my GuteBook rebuild batch files, namely:
Code:
rem Convert .htm to Mobipocket .mobi or alternatively use mobigen or Mobipocket Creator
ebook-convert "30693-h\30693-h.htm" "Violet Paget (AKA Vernon Lee) - Renaissance Fancies and Studies.mobi" --title "Renaissance Fancies and Studies" --authors "Violet Paget (AKA Vernon Lee)" --publisher="Project Gutenberg" --max-toc-links=0
rem ebook-convert "Violet Paget (AKA Vernon Lee) - Renaissance Fancies and Studies.epub" "Violet Paget (AKA Vernon Lee) - Renaissance Fancies and Studies.mobi" --title "Renaissance Fancies and Studies" --authors "Violet Paget (AKA Vernon Lee)" --publisher="Project Gutenberg" --max-toc-links=0
rem Note: To rebuild .mobi using Mobipocket Creator instead, just open the resulting .opf, update the metadata and Build your .prc.
rem mobigen -s0 -c1 "Violet Paget (AKA Vernon Lee) - Renaissance Fancies and Studies.opf"
This shows how GuteBook takes the .html and images and/or .opf and feeds it to calibre's ebook-convert or alternatively to mobigen automatically or Mobipocket Creator manually.
Hope this helps...