Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Mobi alteration

  • Loading branch information...
commit f641662626bed31e8567ca7b7756116bee55400c 1 parent df0de68
Pete Savage authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 Makefile
9 Makefile
@@ -72,6 +72,13 @@ baseconvert: $(BUILD_DIR) $(BUILD_DIR_IMAGES) htmlimages
@cp -r site/images $(BUILD_DIR)
@cp -r images/source/*.svg $(BUILD_DIR_IMAGES)
+baseconvert-mobi: $(BUILD_DIR) $(BUILD_DIR_IMAGES) htmlimages
+ @python scripts/ alltex
+ @python scripts/ baseconvert mobi
+ @python scripts/ baseconcat
+ @cp -r site/images $(BUILD_DIR)
+ @cp -r images/source/*.svg $(BUILD_DIR_IMAGES)
baseconvert-epub: $(BUILD_DIR) $(BUILD_DIR_IMAGES) htmlimages
@python scripts/ alltex
@python scripts/ baseconvert epub
@@ -85,7 +92,7 @@ epub: baseconvert-epub
epub-view: epub
@ebook-viewer build/complete.epub
-mobi: baseconvert
+mobi: baseconvert-mobi
@ebook-convert build/complete.html build/ --chapter '//*[name()="h1"]' --authors 'Peter Savage' --title 'Git In The Trenches' --cover images/source/fcover-epub.png
mobi-view: mobi
Please sign in to comment.
Something went wrong with that request. Please try again.