1 ## Process this file with automake to produce Makefile.in
3 # The name of the module.
6 # The top-level SGML file.
7 DOC_MAIN_SGML_FILE=atk-docs.sgml
9 # The directory containing the source code (if it contains documentation).
13 TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
16 gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="libgnomeP.h gnome-i18nP.h gnome-triggersP.h gnome-magic.h vroot.h"
19 gtkdoc-mktmpl --module=$(DOC_MODULE)
22 gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR)
25 if test ! -d html ; then mkdir html ; fi
26 -cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
29 rm -f *~ *.bak *.hierarchy *.signals *.args *-unused.txt
31 maintainer-clean-local: clean-local
32 rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
35 install -d -m 0755 $(TARGET_DIR)
36 install -m 0644 html/*.html $(TARGET_DIR)
37 install -m 0644 html/index.sgml $(TARGET_DIR)
38 gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)
40 .PHONY : html sgml templates scan