File: Makefile.am

package info (click to toggle)
redland 1.0.15-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,620 kB
  • sloc: ansic: 37,577; sh: 11,630; perl: 2,587; xml: 777; makefile: 579
file content (151 lines) | stat: -rw-r--r-- 4,083 bytes parent folder | download | duplicates (6)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# -*- Mode: Makefile -*-
#
# Makefile.am - docs automake file for Redland librdf
#
# Copyright (C) 2000-2011, David Beckett http://www.dajobe.org/
# Copyright (C) 2000-2005, University of Bristol, UK http://www.bristol.ac.uk/
# 
# This package is Free Software and part of Redland http://librdf.org/
# 
# It is licensed under the following three licenses as alternatives:
#   1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
#   2. GNU General Public License (GPL) V2 or any newer version
#   3. Apache License, V2.0 or any newer version
# 
# You may not use this file except in compliance with at least one of
# the above three licenses.
# 
# See LICENSE.html or LICENSE.txt at the top of this package for the
# complete terms and further detail along with the license texts for
# the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively.
# 
# 


# The name of the module.
DOC_MODULE=redland

# The top-level SGML file.
DOC_MAIN_SGML_FILE=redland-docs.xml

# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS= --deprecated-guards="LIBRDF_DISABLE_DEPRECATED"

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


# Used for dependencies
HFILE_GLOB=$(top_srcdir)/src/*.h $(builddir)/filtered_rdf_log.h
CFILE_GLOB=$(top_srcdir)/src/*.c

IGNORE_CFILES=

# Use fixed version of rdf_log.h
EXTRA_HFILES= $(builddir)/filtered_rdf_log.h

# Headers to ignore: yes rdf_log.h is intended to be in this list
# since it is added as a fixed file filtered_rdf_log.h by EXTRA_HFILES above
IGNORE_HFILES= \
	rdf_log.h \
	rdf_config.h \
	win32_rdf_config.h \
	rdf_types.h \
	redland.h \
	rdf_internal.h \
	rdf_avltree_internal.h \
	rdf_concepts_internal.h \
	rdf_digest_internal.h \
	rdf_hash_internal.h \
	rdf_init_internal.h \
	rdf_iterator_internal.h \
	rdf_list_internal.h \
	rdf_log_internal.h \
	rdf_model_internal.h \
	rdf_node_internal.h \
	rdf_parser_internal.h \
	rdf_query_internal.h \
	rdf_raptor_internal.h \
	rdf_serializer_internal.h \
	rdf_statement_internal.h \
	rdf_storage_internal.h \
	rdf_storage_virtuoso_internal.h \
	rdf_stream_internal.h \
	rdf_uri_internal.h

# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
AM_CPPFLAGS =
GTKDOC_LIBS =

# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS=--sgml-mode --output-format=xml --ignore-files="$(IGNORE_CFILES)"

# Extra options to supply to gtkdoc-mktmpl
MKTMPL_OPTIONS=

# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
content_files =	\
	redland-changes.xml \
	redland-chapter-intro.xml \
	redland-chapter-objects.xml \
	redland-chapter-storage-modules.xml \
	version.xml

# Images to copy into HTML directory
HTML_IMAGES =

# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=

# gtkdoc might not define this
DISTCLEANFILES=

include $(top_srcdir)/gtk-doc.make

man_MANS=redland.3

# Other files to distribute
EXTRA_DIST += README.html README \
storage.html \
redland.pod \
$(man_MANS) \
version.xml.in \
redland-changes.tsv

DISTCLEANFILES += \
filtered_rdf_log.h

CLEANFILES += README \
pod2htm*

$(builddir)/filtered_rdf_log.h: $(top_srcdir)/src/rdf_log.h $(srcdir)/../scripts/fix-gtkdoc-header.pl
	$(PERL) $(srcdir)/../scripts/fix-gtkdoc-header.pl < $< > $@

# Create some text files from HTML sources
LYNX=lynx
LYNXARGS=-dump -nolist


if MAINTAINER_MODE
redland.3: redland.pod
	pod2man --section=3 --center="Redland RDF Application Framework" \
	--release="`date +%d-%b-%Y`" --date="@PACKAGE@ @PACKAGE_VERSION@" $< | \
	sed -e "s;REDLAND_VERSION_STRING;@PACKAGE_VERSION@;" \
	    -e 's;^Redland Resource;redland \\- Resource;' > $@
	rm -f pod2htm*
else
redland.3: redland.pod
	@echo "Creating fake $@ since maintainer mode is not enabled"
	touch $@

endif

README: README.html
	$(LYNX) $(LYNXARGS) $< > $@

if MAINTAINER_MODE
redland-changes.xml: $(srcdir)/redland-changes.tsv $(srcdir)/../scripts/process-changes.pl
	$(PERL) $(srcdir)/../scripts/process-changes.pl --package redland --docbook-xml $@ "Redland librdf" $(srcdir)/redland-changes.tsv

endif