Thread: [Refdb-cvs] CVS: refdb/doc Makefile.am,1.1.2.12,1.1.2.13
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2006-01-12 23:46:12
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27985 Modified Files: Tag: Release_0_9_5_stable Makefile.am Log Message: added include files;moved the params from the xsltproc command line to the driver files;changed distclean to maintainer-clean;build fotitlepages.xsl Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/doc/Attic/Makefile.am,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -u -U2 -r1.1.2.12 -r1.1.2.13 --- Makefile.am 9 Jan 2006 21:24:43 -0000 1.1.2.12 +++ Makefile.am 12 Jan 2006 23:46:04 -0000 1.1.2.13 @@ -43,4 +43,6 @@ xnoteelements_DATA = xnote/elements/* +#################################################################### +# the manual manual_sources = refdb-manual.xml chapter-backend-api.xml chapter-bibliographies.xml chapter-cs-protocol.xml chapter-data-input.xml chapter-inout-formats.xml chapter-installation.xml chapter-introduction.xml chapter-limitations.xml chapter-managing-notes.xml chapter-managing-references.xml chapter-overview-clients.xml chapter-perl-client-module.xml chapter-refdb-database-design.xml chapter-refdba.xml chapter-refdbc.xml chapter-refdbd-administration.xml chapter-refdbd.xml chapter-refdbib.xml chapter-reference-database-design.xml chapter-ris-risx-format.xml chapter-system-requirements.xml @@ -52,14 +54,19 @@ png_images = refdbmanualfig1.png refdbmanualfig2.png refdbmanualfig3.png refdbmanualfig4.png -#pdf_images = refdbmanualfig1.pdf refdbmanualfig2.pdf refdbmanualfig3.pdf refdbmanualfig4.pdf - html_extra_files = manual.css $(png_images) +manual_include_files = include/fotitlepage.templates.xml include/fotitlepages.xsl include/manual-fo.xsl include/manual-man.xsl include/manual-xhtml.xsl + +#################################################################### +# the dtd documentation dtdparsefiles = citestylex.xml citestylex/elements.html risx.xml risx/elements.html citationlistx.xml citationlistx/elements.html xnote.xml xnote/elements.html -EXTRA_DIST = $(doc_DATA) $(manual_sources) $(manpage_sources) $(html_extra_files) $(svg_images) $(citestylex_DATA) $(citestylexdtdelem_DATA) $(citestylexeledesc_DATA) $(citestylexelements_DATA) $(risx_DATA) $(risxdtdelem_DATA) $(risxeledesc_DATA) $(risxelements_DATA) $(citationlistx_DATA) $(citationlistxdtdelem_DATA) $(citationlistxeledesc_DATA) $(citationlistxelements_DATA) $(xnote_DATA) $(xnotedtdelem_DATA) $(xnoteeledesc_DATA) $(xnoteelements_DATA) $(index_DATA) $(dtdparsefiles) +EXTRA_DIST = $(doc_DATA) $(manual_sources) $(manpage_sources) $(html_extra_files) $(svg_images) $(citestylex_DATA) $(citestylexdtdelem_DATA) $(citestylexeledesc_DATA) $(citestylexelements_DATA) $(risx_DATA) $(risxdtdelem_DATA) $(risxeledesc_DATA) $(risxelements_DATA) $(citationlistx_DATA) $(citationlistxdtdelem_DATA) $(citationlistxeledesc_DATA) $(citationlistxelements_DATA) $(xnote_DATA) $(xnotedtdelem_DATA) $(xnoteeledesc_DATA) $(xnoteelements_DATA) $(index_DATA) $(dtdparsefiles) $(manual_include_files) all: refdb-manual.pdf refdb-manual/* citestylex/elements.html risx/elements.html citationlistx/elements.html xnote/elements.html +#################################################################### +# building the manual + # this is how we could validate the manual: # xmllint --noout --xinclude --relaxng /usr/local/share/emacs/21.3/site-lisp/nxml/schema/docbook.rng refdb-manual.xml 2>&1|less @@ -76,7 +83,11 @@ endif -refdb-manual.pdf: $(manual_sources) $(manpage_sources) $(svg_images) refdb-manual-statustable.xml +include/fotitlepages.xsl: include/fotitlepage.templates.xml + xsltproc -output include/fotitlepages.xsl $(docbk_xsl)/template/titlepage.xsl include/fotitlepage.templates.xml + +refdb-manual.pdf: $(manual_sources) $(manpage_sources) $(svg_images) refdb-manual-statustable.xml include/fotitlepages.xsl @echo "Creating PDF manual..."; - xsltproc -o refdb-manual.fo --nonet --xinclude --param section.autolabel 1 --param section.label.includes.component.label 1 --param fop.extensions 1 --param callout.unicode 1 --param callout.graphics 0 --stringparam graphic.default.extension "svg" $(docbk_xsl)/fo/docbook.xsl refdb-manual.xml + xsltproc -o refdb-manual.fo --nonet --xinclude $(top_srcdir)/doc/include/manual-fo.xsl refdb-manual.xml +# we have to give Java a little extra memory lest fop will die a horrible death JAVA_OPTS=-Xmx256M fop -fo refdb-manual.fo -pdf refdb-manual.pdf @@ -84,5 +95,9 @@ @echo "Creating HTML manual..."; rm -rf refdb-manual/* - mkdir -p refdb-manual && cp $(html_extra_files) refdb-manual/ && xsltproc -o refdb-manual/ --nonet --xinclude --stringparam html.stylesheet manual.css --stringparam funcsynopsis.style ansi --stringparam graphic.default.extension "png" $(top_srcdir)/doc/include/manual-xhtml.xsl refdb-manual.xml + mkdir -p refdb-manual && cp $(html_extra_files) refdb-manual/ && xsltproc -o refdb-manual/ --nonet --xinclude $(top_srcdir)/doc/include/manual-xhtml.xsl refdb-manual.xml + + +#################################################################### +# building the DTD doc citestylex.xml: $(top_srcdir)/dtd/citestylex.dtd @@ -128,8 +143,9 @@ xnote/elements/*: xnote/elements.html -distclean: clean +maintainer-clean: clean rm -f refdb-manual.pdf refdb-manual.tex refdb-manual.aux refdb-manual.log refdb-manual.out rm -rf refdb-manual/ rm -f $(png_images) + rm -f include/fotitlepages.xsl rm -f citestylex.xml risx.xml citationlistx.xml xnote.xml rm -f citestylex/*.html |