Skip to content
Snippets Groups Projects
Commit c192805a authored by Goik Martin's avatar Goik Martin
Browse files

docbook2epub.xsl no longer needed.

parent 8163380a
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,6 @@ ${BUILDROOT}/${SCRIPTBASENAME}.xml: ${SCRIPTBASENAME}.xml Common/glossary.xml Co ...@@ -48,7 +48,6 @@ ${BUILDROOT}/${SCRIPTBASENAME}.xml: ${SCRIPTBASENAME}.xml Common/glossary.xml Co
${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../ws/Docbook/Extensions/Xsl/docbook2docbook.xsl > ${BUILDROOT}/${SCRIPTBASENAME}.xml ${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../ws/Docbook/Extensions/Xsl/docbook2docbook.xsl > ${BUILDROOT}/${SCRIPTBASENAME}.xml
${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../Xsl/docbook2html.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_html.xml ${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../Xsl/docbook2html.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_html.xml
${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../ws/Docbook/Extensions/Xsl/docbook2print.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_print.xml ${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../ws/Docbook/Extensions/Xsl/docbook2print.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_print.xml
${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../ws/Docbook/Extensions/Xsl/docbook2epub.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_epub.xml
cd ${BUILDROOT}; ${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../../ws/Docbook/Extensions/Xsl/docbookExtractFig.xsl cd ${BUILDROOT}; ${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../../ws/Docbook/Extensions/Xsl/docbookExtractFig.xsl
for module in ${DOCMODULES}; do \ for module in ${DOCMODULES}; do \
tar c- $$module/Ref| tar -x -C ${BUILDROOT}; \ tar c- $$module/Ref| tar -x -C ${BUILDROOT}; \
...@@ -81,7 +80,7 @@ ${BUILDROOT}/webhelp/printversion.pdf: ${BUILDROOT}/${SCRIPTBASENAME}_print.xml ...@@ -81,7 +80,7 @@ ${BUILDROOT}/webhelp/printversion.pdf: ${BUILDROOT}/${SCRIPTBASENAME}_print.xml
${BUILDROOT}/webhelp/lectures.epub: ${BUILDROOT}/${SCRIPTBASENAME}.xml ${BUILDROOT}/webhelp/lectures.epub: ${BUILDROOT}/${SCRIPTBASENAME}.xml
cd ${BUILDROOT};\ cd ${BUILDROOT};\
/usr/share/xmlmind/bin/xxetool convert ${XSLPARAM} \ /usr/share/xmlmind/bin/xxetool convert ${XSLPARAM} \
db5.toEpub ${SCRIPTBASENAME}_epub.xml -u webhelp/lectures.epub db5.toEpub ${SCRIPTBASENAME}.xml -u webhelp/lectures.epub
clean: clean:
rm -rf ${BUILDROOT} rm -rf ${BUILDROOT}
......
...@@ -39,12 +39,10 @@ ${BUILDROOT}/${SCRIPTBASENAME}.xml: ${SCRIPTBASENAME}.xml ...@@ -39,12 +39,10 @@ ${BUILDROOT}/${SCRIPTBASENAME}.xml: ${SCRIPTBASENAME}.xml
${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../Xsl/docbook2docbook.xsl > ${BUILDROOT}/${SCRIPTBASENAME}.xml ${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../Xsl/docbook2docbook.xsl > ${BUILDROOT}/${SCRIPTBASENAME}.xml
${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../Xsl/docbook2html.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_html.xml ${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../Xsl/docbook2html.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_html.xml
${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../Xsl/docbook2print.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_print.xml ${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../Xsl/docbook2print.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_print.xml
${SAXONCMD} -s:${BUILDROOT}/${SCRIPTBASENAME}.xml -xsl:../Xsl/docbook2epub.xsl > ${BUILDROOT}/${SCRIPTBASENAME}_epub.xml
cd ${BUILDROOT}; ${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../../Xsl/docbookExtractFig.xsl cd ${BUILDROOT}; ${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../../Xsl/docbookExtractFig.xsl
epub: epub:
/usr/share/xmlmind/bin/xxetool convert $(DEBUG) db5.toEpub fig.xml -u $(TARGETDIR)/fig.epub /usr/share/xmlmind/bin/xxetool convert $(DEBUG) db5.toEpub fig.xml -u $(TARGETDIR)/fig.epub
webhelp:fig.xml webhelp:fig.xml
/usr/share/xmlmind/bin/xxetool convert $(DEBUG) \ /usr/share/xmlmind/bin/xxetool convert $(DEBUG) \
......
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
xmlns:db="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://docbook.org/ns/docbook">
<xsl:variable name="generateIdPrefix">__sdwordm4342cs__</xsl:variable>
<xsl:output indent="no"/>
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<!-- dirty hack, should better not be generated in the first place! -->
<xsl:template match="db:para[db:uri/text()='(Animated PDF Version)']"/>
</xsl:stylesheet>
...@@ -63,11 +63,5 @@ ...@@ -63,11 +63,5 @@
</mediaobject> </mediaobject>
</xsl:template> </xsl:template>
<!-- dirty hack, should better not be generated in the first place! -->
<xsl:template match="db:para[db:uri/text()='(Animated PDF Version)']"/>
</xsl:stylesheet> </xsl:stylesheet>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment