Skip to content

Commit

Permalink
remove mobi
Browse files Browse the repository at this point in the history
  • Loading branch information
ofou committed Oct 30, 2023
1 parent e10fd59 commit 70564da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
SHELL := /bin/bash

.SILENT: dependencies clean venv fetch merge epub words count mobi
.SILENT: clean venv fetch merge epub words count mobi

all: clean venv fetch merge epub mobi pdf
all: dependencies clean venv fetch merge epub mobi pdf

clean:
@echo "🗑 Cleaning up the room..."
Expand All @@ -15,6 +15,9 @@ merge:
count:
wc -w essays/* | sort -n

install:
brew install python3

venv:
@echo "🐍 Creating a safe place for a Python... "
mkdir essays
Expand All @@ -24,7 +27,7 @@ venv:
pip3 install -r requirements.txt

dependencies: # for MacOS
brew install python@3
brew install python
brew install --build-from-source pandoc
brew install --cask calibre

Expand All @@ -38,12 +41,6 @@ epub:
pandoc essays/*.md -o graham.epub -f markdown_strict --metadata-file=metadata.yaml --toc --toc-depth=1 --epub-cover-image=cover.png
@echo "🎉 EPUB file created."

mobi:
${epub}
@echo "📒 Binding MOBI... "
ebook-convert graham.epub graham.mobi
@echo "🎉 MOBI file created."

pdf:
${epub}
@echo "📒 Binding PDF... "
Expand Down
Binary file removed graham.mobi
Binary file not shown.

0 comments on commit 70564da

Please sign in to comment.