[Refdb-cvs] CVS: refdb/doc Makefile.am,1.1.2.4,1.1.2.5
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2005-10-18 20:00:53
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13823 Modified Files: Tag: Release_0_9_5_stable Makefile.am Log Message: build dtd documentation Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/doc/Attic/Makefile.am,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -U2 -r1.1.2.4 -r1.1.2.5 --- Makefile.am 2 Oct 2005 23:34:20 -0000 1.1.2.4 +++ Makefile.am 18 Oct 2005 20:00:45 -0000 1.1.2.5 @@ -15,10 +15,10 @@ html_extra_files = manual.css $(png_images) -EXTRA_DIST = $(doc_DATA) $(manual_sources) $(html_extra_files) $(svg_images) +EXTRA_DIST = $(doc_DATA) $(manual_sources) $(html_extra_files) $(svg_images) citestylex risx -all: refdb-manual.pdf refdb-manual/* +all: refdb-manual.pdf refdb-manual/* citestylex/elements.html risx/elements.html -refdb-manual-statustable.sgml: ../scripts/statgen.pl - ../scripts/statgen.pl docbook > refdb-manual-statustable.sgml +refdb-manual-statustable.sgml: $(top_srcdir)/scripts/statgen.pl + $(top_srcdir)/scripts/statgen.pl docbook > refdb-manual-statustable.sgml $(pdf_images): %.pdf: %.svg @@ -39,7 +39,23 @@ @echo "Creating HTML manual..."; rm -rf refdb-manual/* - mkdir -p refdb-manual && cd refdb-manual && openjade -t sgml -d ../include/doc-html.dsl $(sgml_decl) ../refdb-manual.sgml + mkdir -p refdb-manual && cd refdb-manual && openjade -t sgml -d $(top_srcdir)/doc/include/doc-html.dsl $(sgml_decl) $(top_srcdir)/doc/refdb-manual.sgml cp $(html_extra_files) refdb-manual/ +citestylex.xml: $(top_srcdir)/dtd/citestylex.dtd +# dtdparse does not grok CATALOG directives, therefore we have to temporarily +# disable all entries in SGML_CATALOG_FILES + SGML_CATALOG_FILES="" dtdparse --title "citestyle XML DTD" --output citestylex.xml --declaration $(top_srcdir)/declarations/xml.dcl --system-id "http://refdb.sourceforge.net/dtd/citestylex.dtd" $(top_srcdir)/dtd/citestylex.dtd + +citestylex/elements.html: citestylex.xml + dtdformat --html citestylex.xml + $(top_srcdir)/scripts/dtdparseweave citestylex + +risx.xml: $(top_srcdir)/dtd/risx.dtd + SGML_CATALOG_FILES="" dtdparse --title "risx XML DTD" --output risx.xml --declaration $(top_srcdir)/declarations/xml.dcl --system-id "http://refdb.sourceforge.net/dtd/risx.dtd" $(top_srcdir)/dtd/risx.dtd + +risx/elements.html: risx.xml + dtdformat --html risx.xml + $(top_srcdir)/scripts/dtdparseweave risx + distclean: clean rm -f refdb-manual.pdf refdb-manual.tex refdb-manual.aux refdb-manual.log refdb-manual.out @@ -47,4 +63,9 @@ rm -f $(png_images) rm -f $(pdf_images) + rm -f citestylex.xml risx.xml + rm -f citestylex/*.html + rm -rf citestylex/dtdelem citestylex/dtdent citestylex/elements citestylex/entities citestylex/notations + rm -f risx/*.html + rm -rf risx/dtdelem risx/dtdent risx/elements risx/entities risx/notations # this can't be kosher... |