]> err.no Git - libchamplain/commitdiff
Switch to using xsltproc and fop instead of docbook2pdf/html so we can use xincludes...
authorMike Sheldon <mike@mikeasoft.com>
Sun, 29 Mar 2009 00:30:08 +0000 (00:30 +0000)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 29 Mar 2009 15:10:05 +0000 (18:10 +0300)
docs/tutorial/en/Makefile [new file with mode: 0644]

diff --git a/docs/tutorial/en/Makefile b/docs/tutorial/en/Makefile
new file mode 100644 (file)
index 0000000..0460a4e
--- /dev/null
@@ -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
+