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