summaryrefslogtreecommitdiff
path: root/docs/reference/ontology/Makefile.am
blob: 42fe722c54bd25e82f826b42307925af1edd7d5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
AUTOMAKE_OPTIONS = 1.6

# The original Ontology explanation files
ONTOLOGY_INTRODUCTIONS =     \
	mfo-introduction.xml \
	mlo-introduction.xml \
	nco-introduction.xml \
	nie-introduction.xml \
	nmm-introduction.xml \
	nmo-introduction.xml \
	xsd-introduction.xml

# Generation of the ontology XML files.
gen-doc.stamp: $(ONTOLOGY_INTRODUCTIONS)
	$(MKDIR_P) xml
	$(top_builddir)/docs/tools/ttl2sgml -d $(top_srcdir)/src/ontologies/nepomuk -o xml/
	$(AM_V_GEN) touch $@

version.xml: gen-doc.stamp

# The name of the module.
DOC_MODULE = ontology

# The top-level SGML file.
DOC_MAIN_SGML_FILE = ontology-docs.sgml

# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR = .

# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS = --sgml-mode --output-format=xml

# Extra options to supply to gtkdoc-mkhtml
MKHTML_OPTIONS=--path="$(abs_builddir)"

# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
content_files =                                        \
	version.xml

expand_content_files =

# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS =

include $(top_srcdir)/gtk-doc.make

# Other files to distribute
# Note that HTML_FILES and content_files are already included
#  by gtk-doc
EXTRA_DIST +=                                          \
	version.xml.in                                 \
	$(ONTOLOGY_INTRODUCTIONS)                      \
	meson.build

CLEANFILES +=                                          \
	gen-doc.stamp