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