docs: Move documentation under doc/
[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         $(NULL)
35
36 CLEANFILES = $(pcfiles)
37
38 DISTCLEANFILES = doltcompile doltlibtool
39
40 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags
41
42 # Extra clean files so that maintainer-clean removes *everything*
43 MAINTAINERCLEANFILES =  \
44         aclocal.m4      \
45         config.guess    \
46         config.h.in     \
47         configure       \
48         gtk-doc.make    \
49         Makefile.in     \
50         $(NULL)
51
52 include $(top_srcdir)/build/autotools/Makefile.am.changelog