1 SUBDIRS=clutter doc tests
3 pcfiles = clutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.pc
5 %-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.pc: %.pc
8 pkgconfig_DATA = $(pcfiles)
9 pkgconfigdir = $(libdir)/pkgconfig
11 DEFAULT_FLAVOUR=@CLUTTER_FLAVOUR@
13 (cd $(DESTDIR)$(pkgconfigdir) && \
14 test -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc && \
15 rm -f clutter-@CLUTTER_MAJORMINOR@.pc && cp -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc clutter-@CLUTTER_MAJORMINOR@.pc)
18 rm -f $(DESTDIR)$(pkgconfigdir)/clutter-@CLUTTER_MAJORMINOR@.pc
21 EXTRA_DIST = clutter.pc.in README.in
23 CLEANFILES = $(pcfiles) README
25 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-python --enable-gtk
27 # Extra clean files so that maintainer-clean removes *everything*
28 MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub \
29 configure depcomp install-sh ltmain.sh \
30 Makefile.in missing config.h.in