Source: debian-edu-doc Severity: normal Tags: patch pending For some manuals language specific images are available and are used with HTML and PDF manuals. All EPUB manuals do only show the default (en) ones. The fix has been tested and submitted to git. diff --git a/documentation/common/Makefile.common b/documentation/common/Makefile.common index 369f1e2..09e9b9c 100644 --- a/documentation/common/Makefile.common +++ b/documentation/common/Makefile.common @@ -58,7 +58,15 @@ build-epub: -for LINGUA in $(LANGUAGES) ; do \ echo "Creating epub for $$LINGUA"; \ po4a --translate-only $(name).$$LINGUA.xml po4a.cfg ; \ + mkdir images-tmp ; \ + cp images/*.* images-tmp/ ; \ + if [ -e images/$$LINGUA ] ; then \ + cp -v images/$$LINGUA/*.* images-tmp/ ; \ + fi ; \ + sed -i "s#./images#./images-tmp#g" $(name).$$LINGUA.xml ; \ $(DBTOEPUB) $(name).$$LINGUA.xml ; \ + sed -i "s#./images-tmp#./images/#g" $(name).$$LINGUA.xml ; \ + rm -rf images-tmp/ ; \ done else build-html: Wolfgang
Attachment:
signature.asc
Description: Digital signature