Annotation of embedaddon/libxml2/doc/Makefile.am, revision 1.1
1.1 ! misho 1: ## Process this file with automake to produce Makefile.in
! 2: SUBDIRS=devhelp examples
! 3:
! 4: # The top-level SGML file.
! 5: DOC_MAIN_XML_FILE=gnome-xml.xml
! 6:
! 7: # The directory containing the source code (if it contains documentation).
! 8: DOC_SOURCE_DIR=..
! 9:
! 10: # A file in win32 depends upon one of the doc files
! 11: WIN32_DIR=$(top_srcdir)/win32
! 12:
! 13: PAGES= architecture.html bugs.html contribs.html docs.html DOM.html \
! 14: downloads.html entities.html example.html help.html index.html \
! 15: interface.html intro.html library.html namespaces.html news.html \
! 16: tree.html xmldtd.html XMLinfo.html XSLT.html
! 17: APIPAGES=APIconstructors.html APIfiles.html APIfunctions.html \
! 18: APIsymbols.html APIchunk0.html
! 19: EXTRA_DIST=xmlcatalog_man.xml tutorial/*.html tutorial/*.c tutorial/*.pdf \
! 20: tutorial/images/*.png tutorial/images/callouts/*.png \
! 21: API*.html *.1 *.xsl *.html *.gif w3c.png html/*.html \
! 22: html/*.png libxml2-api.xml index.py search.php \
! 23: apibuild.py libxml2.xsa xmllint.xml xmlcatalog_man.xml \
! 24: README.docs symbols.xml
! 25:
! 26:
! 27: man_MANS = xmllint.1 xmlcatalog.1
! 28:
! 29: if REBUILD_DOCS
! 30: all: web $(top_builddir)/NEWS libxml2.xsa $(man_MANS)
! 31: else
! 32: all:
! 33: endif
! 34:
! 35: api: libxml2-api.xml libxml2-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxml2.def.src ../elfgcchack.h $(srcdir)/site.xsl
! 36:
! 37: web: $(PAGES)
! 38:
! 39: ../elfgcchack.h: $(srcdir)/elfgcchack.xsl $(srcdir)/libxml2-api.xml
! 40: -@(if [ -x $(XSLTPROC) ] ; then \
! 41: echo "Rebuilding the elfgcchack.h header" ; \
! 42: $(XSLTPROC) --nonet $(srcdir)/elfgcchack.xsl $(srcdir)/libxml2-api.xml > elfgcchack.h ; \
! 43: if [ "`diff -q elfgcchack.h ../elfgcchack.h`" ] ; then \
! 44: echo "updating ../elfgcchack.h"; \
! 45: cp elfgcchack.h ../elfgcchack.h; \
! 46: fi ; rm -f elfgcchack.h ; fi );
! 47:
! 48: $(PAGES): xml.html site.xsl
! 49: -@(if [ -x $(XSLTPROC) ] ; then \
! 50: echo "Rebuilding the HTML Web pages from xml.html" ; \
! 51: $(XSLTPROC) --nonet --html $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/xml.html > index.html ; fi );
! 52: -@(if [ -x $(XMLLINT) ] ; then \
! 53: echo "Validating the HTML Web pages" ; \
! 54: $(XMLLINT) --nonet --valid --noout $(PAGES) ; fi );
! 55:
! 56: $(top_builddir)/NEWS: $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html
! 57: -@(if [ -x $(XSLTPROC) ] ; then \
! 58: $(XSLTPROC) --nonet $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html > $(top_builddir)/NEWS ; fi );
! 59:
! 60: libxml2.xsa: $(top_srcdir)/doc/xsa.xsl $(top_srcdir)/doc/news.html
! 61: -@(if [ -x $(XSLTPROC) ] ; then \
! 62: echo "Rebuilding the NEWS file" ; \
! 63: $(XSLTPROC) --nonet $(top_srcdir)/doc/xsa.xsl $(top_srcdir)/doc/news.html > libxml2.xsa ; fi );
! 64:
! 65: $(APIPAGES): libxml2-api.xml libxml2-refs.xml $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/api.xsl
! 66: -@(if [ -x $(XSLTPROC) ] ; then \
! 67: echo "Rebuilding the HTML API pages from libxml2-refs.xml" ; \
! 68: $(XSLTPROC) --nonet --html $(top_srcdir)/doc/api.xsl \
! 69: $(top_srcdir)/doc/xml.html ; fi );
! 70: -@(if [ -x $(XMLLINT) ] ; then \
! 71: echo "Validating the HTML API pages" ; \
! 72: $(XMLLINT) --nonet --valid --noout API*.html ; fi );
! 73:
! 74: $(srcdir)/html/index.html: libxml2-api.xml $(srcdir)/newapi.xsl
! 75: -@(if [ -x $(XSLTPROC) ] ; then \
! 76: echo "Rebuilding the HTML pages from the XML API" ; \
! 77: $(XSLTPROC) --nonet $(srcdir)/newapi.xsl libxml2-api.xml ; fi )
! 78: -@(if [ -x $(XMLLINT) ] ; then \
! 79: echo "Validating the resulting XHTML pages" ; \
! 80: $(XMLLINT) --nonet --valid --noout html/*.html ; fi );
! 81:
! 82: wiki: libxml2-api.xml $(srcdir)/wiki.xsl
! 83: -@(if [ -x $(XSLTPROC) ] ; then \
! 84: echo "Rebuilding the wiki HTML pages from the XML API" ; \
! 85: $(XSLTPROC) --nonet $(srcdir)/wiki.xsl libxml2-api.xml; fi )
! 86:
! 87: $(WIN32_DIR)/libxml2.def.src: libxml2-api.xml
! 88: -@(if [ -x $(XSLTPROC) ] ; then \
! 89: $(XSLTPROC) -o $(WIN32_DIR)/libxml2.def.src \
! 90: --nonet $(WIN32_DIR)/defgen.xsl libxml2-api.xml ; fi )
! 91:
! 92: libxml2-api.xml libxml2-refs.xml ../libxml2.syms: apibuild.py symbols.xml syms.xsl checkapisym.xsl ../include/libxml/*.h ../*.c
! 93: -(./apibuild.py)
! 94: ($(XSLTPROC) checkapisym.xsl libxml2-api.xml)
! 95: ($(XSLTPROC) -o ../libxml2.syms syms.xsl symbols.xml)
! 96: -@(cd .. ; $(MAKE) rebuild_testapi)
! 97:
! 98:
! 99: xmllint.1: xmllint.xml
! 100: -@($(XSLTPROC) --nonet xmllint.xml)
! 101:
! 102: xmlcatalog.1: xmlcatalog_man.xml
! 103: -@($(XSLTPROC) --nonet xmlcatalog_man.xml)
! 104:
! 105: clean-local:
! 106: rm -f *~ *.bak *.hierarchy *.signals *-unused.txt
! 107:
! 108: maintainer-clean-local: clean-local
! 109: rm -rf libxml-decl-list.txt libxml-decl.txt
! 110:
! 111: rebuild: api all
! 112:
! 113: install-data-local:
! 114: @MKDIR_P@ $(DESTDIR)$(HTML_DIR)
! 115: -@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/encoding.html $(srcdir)/FAQ.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(srcdir)/smallfootonly.gif $(srcdir)/redhat.gif $(srcdir)/libxml.gif $(srcdir)/w3c.png $(srcdir)/Libxml2-Logo-180x168.gif $(srcdir)/Libxml2-Logo-90x34.gif $(DESTDIR)$(HTML_DIR)
! 116: @MKDIR_P@ $(DESTDIR)$(HTML_DIR)/html
! 117: -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(HTML_DIR)/html
! 118: -@INSTALL@ -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(HTML_DIR)/html
! 119: @MKDIR_P@ $(DESTDIR)$(HTML_DIR)/tutorial
! 120: -@INSTALL@ -m 0644 $(srcdir)/tutorial/*.* \
! 121: $(DESTDIR)$(HTML_DIR)/tutorial
! 122: @MKDIR_P@ $(DESTDIR)$(HTML_DIR)/tutorial/images
! 123: -@INSTALL@ -m 0644 $(srcdir)/tutorial/images/*.* \
! 124: $(DESTDIR)$(HTML_DIR)/tutorial/images
! 125: @MKDIR_P@ $(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
! 126: -@INSTALL@ -m 0644 $(srcdir)/tutorial/images/callouts/*.* \
! 127: $(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
! 128:
! 129: .PHONY : html xml templates scan
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>