1999-02-17 00:29:17 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
1999-02-07 02:12:01 +08:00
|
|
|
|
1999-02-17 00:29:17 +08:00
|
|
|
# The name of the module.
|
2001-01-26 02:54:39 +08:00
|
|
|
DOC_MODULE=libxml2-$(VERSION)
|
1999-02-17 00:29:17 +08:00
|
|
|
|
|
|
|
# The top-level SGML file.
|
|
|
|
DOC_MAIN_SGML_FILE=gnome-xml.sgml
|
|
|
|
|
|
|
|
# The directory containing the source code (if it contains documentation).
|
|
|
|
DOC_SOURCE_DIR=..
|
|
|
|
|
2001-03-15 03:15:37 +08:00
|
|
|
HTML_DIR=@HTML_DIR@
|
1999-02-17 00:29:17 +08:00
|
|
|
|
2001-01-26 02:54:39 +08:00
|
|
|
TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)/html
|
2001-10-24 20:35:52 +08:00
|
|
|
PAGES= architecture.html bugs.html contribs.html docs.html DOM.html \
|
|
|
|
downloads.html entities.html example.html help.html index.html \
|
|
|
|
interface.html intro.html library.html namespaces.html news.html \
|
2001-10-25 18:53:28 +08:00
|
|
|
tree.html xmldtd.html XML.html XSLT.html
|
1999-02-17 00:29:17 +08:00
|
|
|
|
2001-10-30 20:51:17 +08:00
|
|
|
man_MANS = xmllint.1 xmlcatalog.1
|
2001-09-13 19:34:58 +08:00
|
|
|
|
2001-10-24 20:35:52 +08:00
|
|
|
all: $(PAGES)
|
|
|
|
|
|
|
|
$(PAGES): xml.html site.xsl
|
2002-01-02 21:13:30 +08:00
|
|
|
-@(if [ -x $(bindir)/xsltproc ] ; then \
|
|
|
|
$(bindir)/xsltproc --html $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/xml.html > index.html ; fi );
|
1999-02-25 19:01:29 +08:00
|
|
|
|
1999-02-17 00:29:17 +08:00
|
|
|
scan:
|
2001-07-19 03:30:27 +08:00
|
|
|
gtkdoc-scan --module=libxml --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="acconfig.h config.h xmlwin32version.h win32config.h trio.h strio.h triop.h"
|
1999-02-17 00:29:17 +08:00
|
|
|
|
|
|
|
templates: scan
|
2001-01-28 01:50:22 +08:00
|
|
|
gtkdoc-mktmpl --module=libxml
|
1999-02-17 00:29:17 +08:00
|
|
|
|
|
|
|
sgml:
|
2001-01-28 01:50:22 +08:00
|
|
|
gtkdoc-mkdb --module=libxml --source-dir=$(DOC_SOURCE_DIR)
|
1999-02-17 00:29:17 +08:00
|
|
|
|
|
|
|
html:
|
|
|
|
if ! test -d html ; then mkdir html ; fi
|
2001-01-28 01:50:22 +08:00
|
|
|
-cd html && gtkdoc-mkhtml libxml ../$(DOC_MAIN_SGML_FILE)
|
1999-02-17 00:29:17 +08:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -f *~ *.bak *.hierarchy *.signals *-unused.txt
|
|
|
|
|
|
|
|
maintainer-clean-local: clean
|
2001-01-28 01:50:22 +08:00
|
|
|
rm -rf sgml html libxml-decl-list.txt libxml-decl.txt
|
1999-02-17 00:29:17 +08:00
|
|
|
|
2001-01-28 01:50:22 +08:00
|
|
|
libxml-decl-list.txt : templates
|
1999-02-22 18:33:01 +08:00
|
|
|
|
2001-01-28 01:50:22 +08:00
|
|
|
libxml-sections.txt : scan
|
|
|
|
cp libxml-decl-list.txt libxml-sections.txt
|
1999-02-22 18:33:01 +08:00
|
|
|
|
2001-01-28 01:50:22 +08:00
|
|
|
rebuild: libxml-sections.txt templates sgml html
|
1999-02-22 18:33:01 +08:00
|
|
|
|
1999-02-25 19:01:29 +08:00
|
|
|
install-data-local:
|
1999-09-05 04:50:25 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
|
2000-08-20 00:48:54 +08:00
|
|
|
-@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/encoding.html $(srcdir)/FAQ.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(DESTDIR)$(TARGET_DIR)
|
1999-07-10 20:18:15 +08:00
|
|
|
-@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR)
|
|
|
|
-@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR)
|
2001-01-28 01:50:22 +08:00
|
|
|
-(cd $(DESTDIR); gtkdoc-fixxref --module=libxml --html-dir=$(HTML_DIR))
|
1999-02-25 19:01:29 +08:00
|
|
|
|
|
|
|
dist-hook:
|
2001-10-24 20:35:52 +08:00
|
|
|
(cd $(srcdir) ; tar cvf - *.1 site.xsl *.html *.gif html/*.html html/*.sgml) | (cd $(distdir); tar xf -)
|
1999-02-17 00:29:17 +08:00
|
|
|
|
|
|
|
.PHONY : html sgml templates scan
|