1 include $(top_srcdir)/build/autotools/Makefile.am.silent
5 SUBDIRS = build clutter tests po
11 DIST_SUBDIRS = build clutter tests doc po
13 ACLOCAL_AMFLAGS = -I build/autotools
16 clutter-$(CLUTTER_API_VERSION).pc \
17 clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc \
20 # clutter-<major>.<minor>.pc - for generic dependencies
21 clutter-$(CLUTTER_API_VERSION).pc: clutter.pc
24 # clutter-<flavour>-<major>.<minor>.pc - for backend-specific dependencies
25 clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc: clutter.pc
28 .PHONY: test-report full-report
29 test-report full-report:
30 $(MAKE) -C tests/conform $(@)
32 pkgconfig_DATA = $(pcfiles)
33 pkgconfigdir = $(libdir)/pkgconfig
35 DEFAULT_FLAVOUR = @CLUTTER_FLAVOUR@
44 CLEANFILES = $(pcfiles)
46 DISTCLEANFILES = doltcompile doltlibtool
48 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags
50 # Extra clean files so that maintainer-clean removes *everything*
51 MAINTAINERCLEANFILES = \
66 #PREV_RELEASE=$(CLUTTER_MAJOR_VERSION).$$(echo "$(CLUTTER_MINOR_VERSION)-1" | bc)
67 PREV_RELEASE=git-import
70 @if test -d "$(srcdir)/.git"; \
73 from="$(PREV_RELEASE)"; \
74 echo Creating ChangeLog && \
75 ( cd "$(top_srcdir)" && \
76 echo '# Generated by configure. Do no edit.'; echo; \
77 $(top_srcdir)/missing --run perl $(top_srcdir)/build/gen-changelog.pl $$from..$$to ) > ChangeLog.tmp \
78 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
79 || ( rm -f ChangeLog.tmp ; \
80 echo Failed to generate ChangeLog >&2 ); \
82 echo A git checkout is required to generate a ChangeLog >&2; \