From: Mike Sheldon Date: Sun, 29 Mar 2009 00:30:08 +0000 (+0000) Subject: Switch to using xsltproc and fop instead of docbook2pdf/html so we can use xincludes... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f03c0288a1bb546eacffa6d872570c13b38ddd4a;p=libchamplain Switch to using xsltproc and fop instead of docbook2pdf/html so we can use xincludes and profiles --- diff --git a/docs/tutorial/en/Makefile b/docs/tutorial/en/Makefile new file mode 100644 index 0000000..0460a4e --- /dev/null +++ b/docs/tutorial/en/Makefile @@ -0,0 +1,26 @@ +all: python-pdf python-web perl-pdf perl-web c-pdf c-web + +python-pdf: + xsltproc --xinclude --stringparam profile.condition "python" -o python/champlain-python-tutorial.fo /usr/share/xml/docbook/stylesheet/nwalsh/fo/profile-docbook.xsl champlain-tutorial.docbook + fop python/champlain-python-tutorial.fo -pdf python/champlain-python-tutorial.pdf + +python-web: + xsltproc --xinclude --stringparam profile.condition "python" -o python/index.html /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/profile-docbook.xsl champlain-tutorial.docbook + +perl-pdf: + xsltproc --xinclude --stringparam profile.condition "perl" -o perl/champlain-perl-tutorial.fo /usr/share/xml/docbook/stylesheet/nwalsh/fo/profile-docbook.xsl champlain-tutorial.docbook + fop perl/champlain-perl-tutorial.fo -pdf perl/champlain-perl-tutorial.pdf + +perl-web: + xsltproc --xinclude --stringparam profile.condition "perl" -o perl/index.html /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/profile-docbook.xsl champlain-tutorial.docbook + +c-pdf: + xsltproc --xinclude --stringparam profile.condition "c" -o c/champlain-c-tutorial.fo /usr/share/xml/docbook/stylesheet/nwalsh/fo/profile-docbook.xsl champlain-tutorial.docbook + fop c/champlain-c-tutorial.fo -pdf c/champlain-c-tutorial.pdf + +c-web: + xsltproc --xinclude --stringparam profile.condition "c" -o c/index.html /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/profile-docbook.xsl champlain-tutorial.docbook + +clean: + rm -r python perl c +