2008-01-25 14:48:26 -05:00
|
|
|
NULL =
|
|
|
|
|
2009-02-19 05:59:50 -05:00
|
|
|
SUBDIRS = build clutter tests po
|
2008-03-03 13:04:16 -05:00
|
|
|
|
2008-07-17 08:21:01 -04:00
|
|
|
if BUILD_GTK_DOC
|
2008-03-03 13:04:16 -05:00
|
|
|
SUBDIRS += doc
|
|
|
|
endif
|
|
|
|
|
2009-02-19 05:59:50 -05:00
|
|
|
DIST_SUBDIRS = build clutter tests doc po
|
2006-06-23 06:42:29 -04:00
|
|
|
|
2009-02-17 09:56:35 -05:00
|
|
|
ACLOCAL_AMFLAGS = -I build/autotools
|
|
|
|
|
2008-01-25 14:48:26 -05:00
|
|
|
pcfiles = \
|
|
|
|
clutter-$(CLUTTER_API_VERSION).pc \
|
|
|
|
clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# clutter-<major>.<minor>.pc - for generic dependencies
|
|
|
|
clutter-$(CLUTTER_API_VERSION).pc: clutter.pc
|
2009-02-19 12:00:22 -05:00
|
|
|
$(QUIET_GEN)cp $< $@
|
2006-06-23 06:42:29 -04:00
|
|
|
|
2008-01-25 14:48:26 -05:00
|
|
|
# clutter-<flavour>-<major>.<minor>.pc - for backend-specific dependencies
|
2008-01-23 06:08:39 -05:00
|
|
|
clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc: clutter.pc
|
2009-02-19 12:00:22 -05:00
|
|
|
$(QUIET_GEN)cp $< $@
|
2006-06-23 06:42:29 -04:00
|
|
|
|
2008-11-07 14:32:28 -05:00
|
|
|
.PHONY: test-report full-report
|
|
|
|
test-report full-report:
|
|
|
|
$(MAKE) -C tests/conform $(@)
|
|
|
|
|
2006-06-23 06:42:29 -04:00
|
|
|
pkgconfig_DATA = $(pcfiles)
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
2007-07-26 06:00:09 -04:00
|
|
|
DEFAULT_FLAVOUR = @CLUTTER_FLAVOUR@
|
2007-05-25 06:56:09 -04:00
|
|
|
|
2009-01-28 12:01:26 -05:00
|
|
|
EXTRA_DIST = \
|
|
|
|
ChangeLog.SVN \
|
|
|
|
clutter.pc.in \
|
|
|
|
HACKING \
|
|
|
|
HACKING.backends \
|
|
|
|
CODING_STYLE
|
2006-06-23 06:42:29 -04:00
|
|
|
|
2007-06-27 07:56:41 -04:00
|
|
|
CLEANFILES = $(pcfiles)
|
2006-06-23 06:42:29 -04:00
|
|
|
|
2009-02-19 12:15:04 -05:00
|
|
|
DISTCLEANFILES = doltcompile doltlibtool
|
2009-01-29 10:38:28 -05:00
|
|
|
|
2007-07-26 06:00:09 -04:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags
|
2006-06-23 06:42:29 -04:00
|
|
|
|
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
2009-02-19 12:15:04 -05:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
aclocal.m4 \
|
|
|
|
compile \
|
|
|
|
config.guess \
|
|
|
|
config.h.in \
|
|
|
|
config.sub \
|
|
|
|
configure \
|
|
|
|
depcomp \
|
|
|
|
gtk-doc.make \
|
|
|
|
install-sh \
|
|
|
|
ltmain.sh \
|
|
|
|
Makefile.in \
|
|
|
|
missing \
|
2008-01-25 14:48:26 -05:00
|
|
|
$(NULL)
|
2009-01-29 10:38:28 -05:00
|
|
|
|
|
|
|
PREV_RELEASE=$(CLUTTER_MAJOR_VERSION).$$(echo "$(CLUTTER_MINOR_VERSION)-1" | bc)
|
|
|
|
|
2009-02-19 12:15:04 -05:00
|
|
|
dist-hook:
|
|
|
|
@if test -d "$(srcdir)/.git"; \
|
2009-01-29 10:38:28 -05:00
|
|
|
then \
|
|
|
|
to=""; \
|
|
|
|
from="$(PREV_RELEASE)"; \
|
2009-02-19 12:15:04 -05:00
|
|
|
echo Creating ChangeLog && \
|
|
|
|
( cd "$(top_srcdir)" && \
|
|
|
|
echo '# Generated by configure. Do no edit.'; echo; \
|
|
|
|
$(top_srcdir)/missing --run perl $(top_srcdir)/build/gen-changelog.pl $$from.0..$$to ) > ChangeLog.tmp \
|
|
|
|
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|
|
|
|
|| ( rm -f ChangeLog.tmp ; \
|
|
|
|
echo Failed to generate ChangeLog >&2 ); \
|
2009-01-29 10:38:28 -05:00
|
|
|
else \
|
2009-02-19 12:15:04 -05:00
|
|
|
echo A git checkout is required to generate a ChangeLog >&2; \
|
2009-01-29 10:38:28 -05:00
|
|
|
fi
|