From: Javier Fernández-Sanguino Date: Tue, 9 May 2017 23:28:35 +0000 (+0000) Subject: Fix logic in expressions X-Git-Tag: 20180215~86 X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=commitdiff_plain;h=217dd24f7bd1138a12c50c3bf9907811d90ec611 Fix logic in expressions git-svn-id: https://projectaon.org/data/trunk@2612 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- 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)