Browse files

Mobi alteration

  • Loading branch information...
1 parent df0de68 commit f641662626bed31e8567ca7b7756116bee55400c @cbx33 committed Jul 3, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 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

0 comments on commit f641662

Please sign in to comment.