blob: 9ec435163e28fe1795064559bf7be22356164d80 [file] [log] [blame]
Daniel Veillard1164e751999-02-16 16:29:17 +00001## Process this file with automake to produce Makefile.in
Daniel Veillard19b858c1999-02-06 18:12:01 +00002
Daniel Veillard1164e751999-02-16 16:29:17 +00003# The name of the module.
4DOC_MODULE=gnome-xml
5
6# The top-level SGML file.
7DOC_MAIN_SGML_FILE=gnome-xml.sgml
8
9# The directory containing the source code (if it contains documentation).
10DOC_SOURCE_DIR=..
11
12
13TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
14
15scan:
16 gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="acconfig.h config.h"
17
18templates: scan
19 gtkdoc-mktmpl --module=$(DOC_MODULE)
20
21sgml:
22 gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR)
23
24html:
25 if ! test -d html ; then mkdir html ; fi
26 -cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
27
28clean-local:
29 rm -f *~ *.bak *.hierarchy *.signals *-unused.txt
30
31maintainer-clean-local: clean
32 rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
33
Daniel Veillarda4b44301999-02-16 18:53:00 +000034docdatadir = $(datadir)/aclocal
35docdata_DATA = xml.html structure.gif DOM.gif
36
37#install-data-local:
38# install -d -m 0755 $(TARGET_DIR)
39# install -m 0644 xml.html structure.gif DOM.gif $(TARGET_DIR)
Daniel Veillard1164e751999-02-16 16:29:17 +000040# install -m 0644 html/*.html $(TARGET_DIR)
41# install -m 0644 html/index.sgml $(TARGET_DIR)
42# gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)
43
44.PHONY : html sgml templates scan