2007-06-12 10:36:28 +00:00
|
|
|
SUBDIRS=clutter doc tests
|
2006-06-23 10:42:29 +00:00
|
|
|
|
2007-05-22 09:31:40 +00:00
|
|
|
pcfiles = clutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.pc
|
2006-06-23 10:42:29 +00:00
|
|
|
|
2007-05-22 09:31:40 +00:00
|
|
|
%-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.pc: %.pc
|
2006-06-23 10:42:29 +00:00
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
pkgconfig_DATA = $(pcfiles)
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
2007-05-25 10:56:09 +00:00
|
|
|
DEFAULT_FLAVOUR=@CLUTTER_FLAVOUR@
|
|
|
|
install-data-hook:
|
|
|
|
(cd $(DESTDIR)$(pkgconfigdir) && \
|
|
|
|
test -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc && \
|
|
|
|
rm -f clutter-@CLUTTER_MAJORMINOR@.pc && cp -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc clutter-@CLUTTER_MAJORMINOR@.pc)
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -f $(DESTDIR)$(pkgconfigdir)/clutter-@CLUTTER_MAJORMINOR@.pc
|
|
|
|
|
|
|
|
|
2007-06-19 13:04:50 +00:00
|
|
|
EXTRA_DIST = clutter.pc.in README.in
|
2006-06-23 10:42:29 +00:00
|
|
|
|
2007-06-19 13:04:50 +00:00
|
|
|
CLEANFILES = $(pcfiles) README
|
2006-06-23 10:42:29 +00:00
|
|
|
|
2007-06-19 14:52:19 +00:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
|
2006-06-23 10:42:29 +00:00
|
|
|
|
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
|
|
|
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub \
|
|
|
|
configure depcomp install-sh ltmain.sh \
|
|
|
|
Makefile.in missing config.h.in
|