X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=blobdiff_plain;f=common%2Fepub%2FMakefile.common;fp=common%2Fepub%2FMakefile.common;h=4757825601058630b4bedb38b7b77f75d8fb62ed;hp=3f41a6c5b7dd47c6153081ea758854dfdc66d181;hb=65446fc1ccf77df6801b60856bf062709910af27;hpb=df77a70185216159c28f29cd835346e594f6f3b5 diff --git a/common/epub/Makefile.common b/common/epub/Makefile.common index 3f41a6c..4757825 100644 --- a/common/epub/Makefile.common +++ b/common/epub/Makefile.common @@ -108,7 +108,7 @@ $(EPUB): $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) @if [ -e $(ALTCOVERIMAGE) ] && [ ! -e $(COVERIMAGE) ] ; then \ ebook-convert $(EPUB) regen_$(EPUB) --cover $(ALTCOVERIMAGE) ; \ fi - @if [ ! -e $(COVERIMAGE) ] ; then \ + @if [ -e $(COVERIMAGE) ] ; then \ ebook-convert $(EPUB) regen_$(EPUB) --cover $(COVERIMAGE) ; \ fi @if [ ! -e $(ALTCOVERIMAGE) ] && [ ! -e $(COVERIMAGE) ] ; then \