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.
|
|
|
|
DOC_MODULE=gnome-xml
|
|
|
|
|
|
|
|
# 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=..
|
|
|
|
|
|
|
|
|
|
|
|
TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
|
|
|
|
|
|
|
|
scan:
|
|
|
|
gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="acconfig.h config.h"
|
|
|
|
|
|
|
|
templates: scan
|
|
|
|
gtkdoc-mktmpl --module=$(DOC_MODULE)
|
|
|
|
|
|
|
|
sgml:
|
|
|
|
gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR)
|
|
|
|
|
|
|
|
html:
|
|
|
|
if ! test -d html ; then mkdir html ; fi
|
|
|
|
-cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -f *~ *.bak *.hierarchy *.signals *-unused.txt
|
|
|
|
|
|
|
|
maintainer-clean-local: clean
|
|
|
|
rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
|
|
|
|
|
1999-02-17 02:53:00 +08:00
|
|
|
docdatadir = $(datadir)/aclocal
|
|
|
|
docdata_DATA = xml.html structure.gif DOM.gif
|
|
|
|
|
|
|
|
#install-data-local:
|
|
|
|
# install -d -m 0755 $(TARGET_DIR)
|
|
|
|
# install -m 0644 xml.html structure.gif DOM.gif $(TARGET_DIR)
|
1999-02-17 00:29:17 +08:00
|
|
|
# install -m 0644 html/*.html $(TARGET_DIR)
|
|
|
|
# install -m 0644 html/index.sgml $(TARGET_DIR)
|
|
|
|
# gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)
|
|
|
|
|
|
|
|
.PHONY : html sgml templates scan
|