X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=blobdiff_plain;f=common%2Fepub%2FMakefile.common;h=02ee57642514d6d62f44c8b0823cd930ffa57203;hp=195f876cee57ad80d9b3eaf68b296839da4b4f7b;hb=217dd24f7bd1138a12c50c3bf9907811d90ec611;hpb=4f232c1360aec674c9d697ce52784fa3bcaeb9a3 diff --git a/common/epub/Makefile.common b/common/epub/Makefile.common index 195f876..02ee576 100644 --- a/common/epub/Makefile.common +++ b/common/epub/Makefile.common @@ -93,7 +93,7 @@ $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB): $(XMLFILE) $(EPUBSCRI cd $(AONROOTDIR) && perl $(EPUBSCRIPT) --language=$(BLANG) --font-files=$(FONTDIR) $(BASENAME) $(EPUB): $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) ebook-convert - @[ ! -x `which dbtoepub` ] || { echo "ERROR: Cannot find 'dbtoepub', please install this package" >&2; exit 1; } + @[ -x `which dbtoepub` ] || { echo "ERROR: Cannot find 'dbtoepub', please install this package" >&2; exit 1; } dbtoepub -o $(BOOK) $(XMLFILE) >$(BOOK).log 2>&1; \ cp -p $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) . # Regenerate to include the covers properly within the Ebook and fix the EPUB @@ -106,7 +106,7 @@ $(EPUB): $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) ebook-convert # Calibre see http://manual.calibre-ebook.com/cli/ebook-convert.html ebook-convert: - @[ ! -x `which ebook-convert` ] || { echo "ERROR: Cannot find 'ebook-convert', please install Calibre" >&2; exit 1; } + @[ -x `which ebook-convert` ] || { echo "ERROR: Cannot find 'ebook-convert', please install Calibre" >&2; exit 1; } # Generate the mobi file from the ePub (Mobipocket format) mobi: $(MOBI)