blob: 0d13433eccbb7dd9f9df371824142e360e4ab6ae [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
Daniel Veillard1e346af1999-02-22 10:33:01 +000037gnome-xml-decl-list.txt : templates
38
39gnome-xml-sections.txt : scan
40 cp gnome-xml-decl-list.txt gnome-xml-sections.txt
41
42rebuild: gnome-xml-sections.txt templates sgml html
43
Daniel Veillarda4b44301999-02-16 18:53:00 +000044#install-data-local:
45# install -d -m 0755 $(TARGET_DIR)
46# install -m 0644 xml.html structure.gif DOM.gif $(TARGET_DIR)
Daniel Veillard1164e751999-02-16 16:29:17 +000047# install -m 0644 html/*.html $(TARGET_DIR)
48# install -m 0644 html/index.sgml $(TARGET_DIR)
49# gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)
50
51.PHONY : html sgml templates scan