Source: debian-edu-doc Severity: normal Tags: patch pending EPUB manuals are generated and shipped for localized manuals but missing for the default language.
The fix has been tested and committed to git.
diff --git a/documentation/common/Makefile.common
b/documentation/common/Makefile.common
index 3b49c53..807d2c2 100644
--- a/documentation/common/Makefile.common
+++ b/documentation/common/Makefile.common
@@ -51,6 +51,10 @@ build-html:
sed -i "s/href=\"index.html/href=\"$(name).$$f.html/g"
$(name).$$f.html ; \
done
build-epub:
+ # build the English EPUB version
+ echo "Creating epub for en"
+ $(DBTOEPUB) $(name).xml
+ # build all other EPUB versions
-for LINGUA in $(LANGUAGES) ; do \
echo "Creating epub for $$LINGUA"; \
po4a --translate-only $(name).$$LINGUA.xml po4a.cfg ; \
@@ -123,6 +127,9 @@ install: build
rm $$LANGPATH/images/*.pdf ; \
fi ; \
fi ; \
+ if [ -e $(name).epub ] ; then \
+ cp $(name).epub $$LANGPATH/$(name).epub ; \
+ fi ; \
if [ -e $(name).$$f.epub ] ; then \
cp $(name).$$f.epub $$LANGPATH/$(name).epub ; \
fi ; \
Wolfgang
signature.asc
Description: Digital signature

