#1308 using dbtoepub in automake projects

output: ePub
open
nobody
None
5
2013-07-13
2013-07-13
David van Laatum
No

When using dbtoepub in a automake project it errors like below when doing a make distcheck as the source directory does not have write permission.

make[2]: Leaving directory /mnt/hgfs/david/Projects/Home/dvnmon/build/dvnmon-0.1/_build/SPECS' Making all in doc make[2]: Entering directory/mnt/hgfs/david/Projects/Home/dvnmon/build/dvnmon-0.1/_build/doc'
/usr/share/sgml/docbook/xsl-stylesheets/epub/bin/dbtoepub -v -d ../../doc/dvnmon.xml
Rendering DocBook file ../../doc/dvnmon.xml to dvnmon.epub
I/O error : Permission denied
I/O error : Permission denied
/usr/share/sgml/docbook/xsl-stylesheets/epub/bin/lib/docbook.rb:122:in collapse_docbook': Could not collapse named entites in ../../doc/dvnmon.xml (RuntimeError) from /usr/share/sgml/docbook/xsl-stylesheets/epub/bin/lib/docbook.rb:64:inrender_to_epub'
from /usr/share/sgml/docbook/xsl-stylesheets/epub/bin/lib/docbook.rb:44:in render_to_file' from /usr/share/sgml/docbook/xsl-stylesheets/epub/bin/dbtoepub:73 from /usr/share/sgml/docbook/xsl-stylesheets/epub/bin/dbtoepub:62:ineach'
from /usr/share/sgml/docbook/xsl-stylesheets/epub/bin/dbtoepub:62
make[2]: [dvnmon.epub] Error 1
make[2]: Leaving directory /mnt/hgfs/david/Projects/Home/dvnmon/build/dvnmon-0.1/_build/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/mnt/hgfs/david/Projects/Home/dvnmon/build/dvnmon-0.1/_build'
make:
[all] Error 2

Discussion