docs: Fix recursion into doc/ directory
[profile/ivi/clutter.git] / Makefile.am
1 include $(top_srcdir)/build/autotools/Makefile.am.silent
2
3 NULL =
4
5 SUBDIRS = doc build clutter tests po
6
7 DIST_SUBDIRS = build clutter tests doc po
8
9 ACLOCAL_AMFLAGS = -I build/autotools
10
11 pcfiles = \
12         clutter-$(CLUTTER_API_VERSION).pc \
13         clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc \
14         $(NULL)
15
16 # clutter-<major>.<minor>.pc - for generic dependencies
17 clutter-$(CLUTTER_API_VERSION).pc: clutter.pc
18         $(QUIET_GEN)cp $< $@
19
20 # clutter-<winsys>-<major>.<minor>.pc - for backend-specific dependencies
21 clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc: clutter.pc
22         $(QUIET_GEN)cp $< $@
23
24 .PHONY: test-report full-report
25 test-report full-report:
26         $(MAKE) -C tests/conform $(@)
27
28 pkgconfig_DATA = $(pcfiles)
29 pkgconfigdir   = $(libdir)/pkgconfig
30
31 EXTRA_DIST =                            \
32         ChangeLog.pre-git-import        \
33         clutter.pc.in                   \
34         HACKING                         \
35         HACKING.backends                \
36         CODING_STYLE                    \
37         $(NULL)
38
39 CLEANFILES = $(pcfiles)
40
41 DISTCLEANFILES = doltcompile doltlibtool
42
43 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags
44
45 # Extra clean files so that maintainer-clean removes *everything*
46 MAINTAINERCLEANFILES =  \
47         aclocal.m4      \
48         config.guess    \
49         config.h.in     \
50         configure       \
51         gtk-doc.make    \
52         Makefile.in     \
53         $(NULL)
54
55 include $(top_srcdir)/build/autotools/Makefile.am.changelog