Skip to content

Commit 2aeaaa1

Browse files
Merge pull request #2600 from TEIC/mobi-2574
WIP: remove mobi from the generated outputs; close #2574
2 parents 04be30e + f62c3ef commit 2aeaaa1

File tree

12 files changed

+4
-392
lines changed

12 files changed

+4
-392
lines changed

Documents/Editing/Jenkins/jobs/Guidelines-Link-Check/linkchecker.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
do more sophisticated things. -->
2020

2121
<xsl:param name="p5version"></xsl:param>
22-
<xsl:variable name="ignore" select="if (matches($p5version, '[a-z]+$')) then '((readme-\d\.\d\.\d\.html$)|(Guidelines\.mobi)|(tei-c\.org/$)|(google\.com/search))' else '((Guidelines\.mobi)|(tei-c\.org/$)|(google\.com/search))'"/>
22+
<xsl:variable name="ignore" select="if (matches($p5version, '[a-z]+$')) then '((readme-\d\.\d\.\d\.html$)|(tei-c\.org/$)|(google\.com/search))' else '((tei-c\.org/$)|(google\.com/search))'"/>
2323

2424
<xsl:template match="/">
2525
<xsl:text>Broken external links:&#x0a;&#x0a;</xsl:text>

Documents/Editing/Jenkins/jobs/Guidelines-Link-Check/linkcheckerrcalphabeta

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ filename=checkResults/linkchecker-out.xml
1717
#In pre-release mode, we ignore the missing readme file for the next release.
1818

1919
ignore=readme-\d\.\d\.\d\.html
20-
Guidelines\.mobi
2120
tei-c.org/$
2221
google\.com/search
2322
#xpointer(id('chum'))

Documents/Editing/Jenkins/jobs/Guidelines-Link-Check/linkcheckerrcrelease

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ filename=checkResults/linkchecker-out.xml
1515

1616
#This is a multiline thing; each line is a regex specifying something to be ignored.
1717

18-
ignore=Guidelines\.mobi
19-
tei-c\.org/$
18+
ignore=tei-c\.org/$
2019
google\.com/search
2120
#xpointer(id('chum'))
2221

Documents/howtomakep5.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<p>You can of course run parts of the Makefile separately. For example, run "make
8585
check" to run the TEI test suite; "make validate" to validate the P5 source;
8686
"make exemplars" to check that all the TEI exemplars still work; run "make
87-
ebook" or "make mobi" to produce an Ebook or Mobi version of the Guidelines
87+
ebook" to produce an Ebook version of the Guidelines
8888
respectively. "make pdf" will try to build the fancy PDF version of the
8989
Guidelines, but it won't get far unless you have a working LiveTex environment
9090
and the requisite fonts. (see <ptr target="#PDF"/> below) </p>

P5/Makefile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,6 @@ epub3: check.stamp p5.xml
119119
${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
120120
java -jar Utilities/epubcheck3.jar Guidelines.epub
121121

122-
mobi: Guidelines.mobi
123-
124-
Guidelines.mobi: check.stamp p5.xml
125-
${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
126-
-export PATH=/usr/share/kindlegen:$$PATH ; command -v kindlegen && kindlegen Guidelines-kindle.epub -o Guidelines.mobi
127-
rm Guidelines-kindle.epub
128-
129122
fonttest:
130123
-xelatex --interaction=batchmode Utilities/fonttest
131124
if [ -f "missfont.log" ] ; then \
@@ -278,9 +271,7 @@ dist-doc.stamp: check.stamp p5.xml
278271
make pdf
279272
@echo BUILD: make ePub and Kindle version of Guidelines
280273
make epub
281-
make mobi
282274
cp Guidelines.pdf Guidelines.epub release/tei-p5-doc/share/doc/tei-p5-doc/en
283-
-test -f Guidelines.mobi && cp Guidelines.mobi release/tei-p5-doc/share/doc/tei-p5-doc/en
284275
touch dist-doc.stamp
285276

286277
dist-test.stamp: check.stamp p5.xml

P5/Utilities/guidelines.xsl.model

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -516,13 +516,6 @@
516516
alt="ePub version for mobile devices."
517517
title="ePub version for mobile devices."/>
518518
</a>
519-
<a href="../../en/Guidelines.mobi" class="ebookLink">
520-
<img src="icons/e-book-icons/mdh_mobi_doc_32x32.png" width="32" height="32"
521-
alt="Mobi version (for Kindle)."
522-
title="Mobi version (for Kindle)."/>
523-
</a>
524-
525-
526519
</p>
527520

528521
<div class="col_left">

P5/debian-tei-p5-doc/debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ binary-indep: build install
3939
# dh_installcron
4040
dh_installmenu
4141
dh_installchangelogs
42-
dh_compress --exclude=.xml --exclude=.html --exclude=.js --exclude=.pdf --exclude=.epub --exclude=.mobi
42+
dh_compress --exclude=.xml --exclude=.html --exclude=.js --exclude=.pdf --exclude=.epub
4343
dh_fixperms
4444
dh_installdeb
4545
dh_gencontrol

P5/webnav/icons/e-book-icons/license.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
These logos were created by Martin Holmes in 2013, based on
22
these images in the public domain from Wikimedia Commons:
33

4-
https://commons.wikimedia.org/wiki/File:Amazon_Kindle_logo.svg
54
https://commons.wikimedia.org/wiki/File:Adobe_PDF_Icon.svg
65

7-
This image from Wikimedia Commons available under the Creative
8-
Commons Attribution-Share Alike 3.0 Unported license:
9-
10-
https://commons.wikimedia.org/wiki/File:Amazon-icon.png
11-
126
This image from Wikimedia Commons which is non-free, but can be
137
used for purposes of identification:
148

0 commit comments

Comments
 (0)