Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: remove mobi from the generated outputs; close #2574 #2600

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions P5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@ epub3: check.stamp p5.xml
${ANT} -f ${XSL}/epub3/build-to.xml -lib Utilities/lib/${SAXONJAR} -Dprofiledir=${XSL}/profiles -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
java -jar Utilities/epubcheck3.jar Guidelines.epub

mobi: Guidelines.mobi

Guidelines.mobi: check.stamp p5.xml
${ANT} -f ${XSL}/epub/build-to.xml -lib Utilities/lib/${SAXONJAR} -Dprofiledir=${XSL}/profiles -Dprofile=teikindle -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines-kindle.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
-export PATH=/usr/share/kindlegen:$$PATH ; command -v kindlegen && kindlegen Guidelines-kindle.epub -o Guidelines.mobi
rm Guidelines-kindle.epub

fonttest:
-xelatex --interaction=batchmode Utilities/fonttest
if [ -f "missfont.log" ] ; then \
Expand Down Expand Up @@ -278,9 +271,7 @@ dist-doc.stamp: check.stamp p5.xml
make pdf
@echo BUILD: make ePub and Kindle version of Guidelines
make epub
make mobi
cp Guidelines.pdf Guidelines.epub release/tei-p5-doc/share/doc/tei-p5-doc/en
-test -f Guidelines.mobi && cp Guidelines.mobi release/tei-p5-doc/share/doc/tei-p5-doc/en
touch dist-doc.stamp

dist-test.stamp: check.stamp p5.xml
Expand Down