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