build: Sanitize the hack for ACLOCAL_FLAGS
[profile/ivi/clutter.git] / Makefile.am
1 include $(top_srcdir)/build/autotools/Makefile.am.silent
2
3 NULL =
4
5 SUBDIRS = build clutter tests doc po
6
7 # XXX - this is a massive hack to make autoreconf honour the ACLOCAL_FLAGS
8 # that jhbuild sets while still retaining build/autotools as the authoritative
9 # source for m4 macros
10 ACLOCAL_AMFLAGS = -I build/autotools ${ACLOCAL_FLAGS}
11
12 EXTRA_DIST = \
13         ChangeLog.pre-git-import        \
14         $(NULL)
15
16 CLEANFILES = $(pcfiles)
17
18 DISTCLEANFILES =
19
20 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags
21
22 # Extra clean files so that maintainer-clean removes *everything*
23 MAINTAINERCLEANFILES =  \
24         aclocal.m4      \
25         config.guess    \
26         config.h.in     \
27         configure       \
28         gtk-doc.make    \
29         Makefile.in     \
30         $(NULL)
31
32 include $(top_srcdir)/build/autotools/Makefile.am.changelog
33 include $(top_srcdir)/build/autotools/Makefile.am.release
34
35 # proxy rule for gcov
36 gcov:
37         @( cd clutter && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
38
39 # proxy rules for tests
40 test-report full-report:
41         $(MAKE) -C tests/conform $(@)
42
43 .PHONY: gcov test-report full-report