1EXTRA_DIST =
2
3include $(top_srcdir)/Makefile.decl
4
5ACLOCAL_AMFLAGS = -I m4
6
7DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc --enable-gst-plugin --enable-gst-0.10-plugin --enable-viewer --enable-cpp-test --enable-appstream-util
8
9SUBDIRS = src
10
11if ARAVIS_BUILD_VIEWER
12SUBDIRS += viewer
13endif
14
15if ARAVIS_BUILD_GST_PLUGIN
16SUBDIRS += gst
17endif
18
19if ARAVIS_BUILD_GST_0_10_PLUGIN
20SUBDIRS += gst-0.10
21endif
22
23SUBDIRS += po docs
24
25aravisdocdir = ${docdir}/aravis-@ARAVIS_API_VERSION@
26aravisdoc_DATA = 	\
27	README.md	\
28	COPYING		\
29	ChangeLog 	\
30	AUTHORS		\
31	NEWS
32
33EXTRA_DIST += m4/introspection.m4 README.md
34
35# Copy all the spec files. Of cource, only one is actually used.
36dist-hook:
37	for specfile in *.spec; do \
38		if test -f $$specfile; then \
39			cp -p $$specfile $(distdir); \
40		fi \
41	done
42
43pkgconfigdir = $(libdir)/pkgconfig
44pkgconfig_DATA = aravis-@ARAVIS_API_VERSION@.pc
45
46CLEANFILES = $(pkgconfig_DATA)
47
48%-@ARAVIS_API_VERSION@.pc: %.pc
49	cp $< $@
50
51