tests: Add invalid "field" tests to increase coverage
[vala-gnome.git] / doc / Makefile.am
blob758ad733a84a904a52b5330684b199ee25b96166
1 NULL =
3 SUBDIRS = \
4         manual \
5         $(NULL)
7 dist_man_MANS = \
8         valac.1 \
9         valadoc.1 \
10         vala-gen-introspect.1 \
11         vapigen.1 \
12         $(NULL)
14 EXTRA_DIST = \
15         valac.h2m \
16         valadoc.h2m \
17         vala-gen-introspect.h2m \
18         vapigen.h2m \
19         $(NULL)
21 if HAVE_HELP2MAN
22 manpages: valac.1 valadoc.1 vala-gen-introspect.1 vapigen.1
23         @rm $^
24         $(MAKE) $(AM_MAKEFLAGS) $^
26 valac.1:
27         $(HELP2MAN) $(top_builddir)/compiler/valac \
28                 --include $(srcdir)/valac.h2m \
29                 --libtool --no-info \
30                 --output=$@
31 valadoc.1:
32         $(HELP2MAN) $(top_builddir)/valadoc/valadoc \
33                 --include $(srcdir)/valadoc.h2m \
34                 --libtool --no-info \
35                 --output=$@
36 vala-gen-introspect.1:
37         $(HELP2MAN) $(top_builddir)/gobject-introspection/gen-introspect \
38                 --include $(srcdir)/vala-gen-introspect.h2m \
39                 --version-string=$(PACKAGE_VERSION) \
40                 --libtool --no-info \
41                 --output=$@
42 vapigen.1:
43         $(HELP2MAN) $(top_builddir)/vapigen/vapigen \
44                 --include $(srcdir)/vapigen.h2m \
45                 --libtool --no-info \
46                 --output=$@
47 endif
49 if ENABLE_UNVERSIONED
50 install-data-hook:
51         cd $(DESTDIR)$(man1dir) && $(LN_S) -f valac@PACKAGE_SUFFIX@.1 valac.1
52         cd $(DESTDIR)$(man1dir) && $(LN_S) -f valadoc@PACKAGE_SUFFIX@.1 valadoc.1
53         cd $(DESTDIR)$(man1dir) && $(LN_S) -f vala-gen-introspect@PACKAGE_SUFFIX@.1 vala-gen-introspect.1
54         cd $(DESTDIR)$(man1dir) && $(LN_S) -f vapigen@PACKAGE_SUFFIX@.1 vapigen.1
55 endif
58 COMMON_VALADOCFLAGS = \
59         --force \
60         --verbose \
61         --private \
62         --internal \
63         --use-svg-images \
64         --vapidir=$(top_builddir)/vapi \
65         --pkg config \
66         --pkg gmodule-2.0 \
67         --directory=internal-apis/ \
68         --doclet=$(top_builddir)/valadoc/doclets/html/.libs \
69         --doclet-arg "--no-browsable-check" \
70         --basedir=internal-apis/ \
71         $(NULL)
73 if HAVE_CGRAPH
74 COMMON_VALADOCFLAGS += -D WITH_CGRAPH
75 endif
77 gee_VALASOURCES = $(top_srcdir)/gee/*.vala
78 internal-apis/gee: $(gee_VALASOURCES)
79         $(AM_V_GEN)$(top_builddir)/valadoc/valadoc \
80                 $(COMMON_VALADOCFLAGS) \
81                 --package-name gee \
82                 --package-version $(PACKAGE_VERSION) \
83                 $(filter %.vala,$^)
84         @touch $@
86 vala_VALASOURCES = $(top_srcdir)/vala/*.vala
87 internal-apis/vala: $(vala_VALASOURCES) internal-apis/gee
88         $(AM_V_GEN)$(top_builddir)/valadoc/valadoc \
89                 $(COMMON_VALADOCFLAGS) \
90                 --package-name vala \
91                 --package-version $(PACKAGE_VERSION) \
92                 --vapidir=$(top_builddir)/gee --pkg gee \
93                 $(filter %.vala,$^)
94         @touch $@
96 ccode_VALASOURCES = $(top_srcdir)/ccode/*.vala
97 internal-apis/ccode: $(ccode_VALASOURCES) internal-apis/gee
98         $(AM_V_GEN)$(top_builddir)/valadoc/valadoc \
99                 $(COMMON_VALADOCFLAGS) \
100                 --package-name ccode \
101                 --package-version $(PACKAGE_VERSION) \
102                 --vapidir=$(top_builddir)/gee --pkg gee \
103                 $(filter %.vala,$^)
104         @touch $@
106 codegen_VALASOURCES = $(top_srcdir)/codegen/*.vala
107 internal-apis/codegen: $(codegen_VALASOURCES) internal-apis/vala internal-apis/ccode
108         $(AM_V_GEN)$(top_builddir)/valadoc/valadoc\
109                 $(COMMON_VALADOCFLAGS) \
110                 --package-name codegen \
111                 --package-version $(PACKAGE_VERSION) \
112                 --vapidir=$(top_builddir)/gee --pkg gee \
113                 --vapidir=$(top_builddir)/vala --pkg vala \
114                 --vapidir=$(top_builddir)/ccode --pkg ccode \
115                 $(filter %.vala,$^)
116         @touch $@
118 valadoc_VALASOURCES = $(top_srcdir)/libvaladoc/*.vala $(top_srcdir)/libvaladoc/*/*.vala
119 internal-apis/valadoc: $(valadoc_VALASOURCES) internal-apis/codegen
120         $(AM_V_GEN)$(top_builddir)/valadoc/valadoc\
121                 $(COMMON_VALADOCFLAGS) \
122                 --package-name valadoc \
123                 --package-version $(PACKAGE_VERSION) \
124                 --vapidir=$(top_srcdir)/vapi --pkg libgvc \
125                 --vapidir=$(top_builddir)/gee --pkg gee \
126                 --vapidir=$(top_builddir)/vala --pkg vala \
127                 --vapidir=$(top_builddir)/ccode --pkg ccode \
128                 --vapidir=$(top_builddir)/codegen --pkg codegen \
129                 $(filter %.vala,$^)
130         @touch $@
132 internal-api-docs: internal-apis/gee internal-apis/vala internal-apis/ccode internal-apis/codegen internal-apis/valadoc
134 clean-local:
135         rm -rf $(builddir)/internal-apis