2007-12-21 10:25:00 -05:00
|
|
|
SUBDIRS = clutter tests doc
|
2006-06-23 06:42:29 -04:00
|
|
|
|
2008-01-23 06:08:39 -05:00
|
|
|
pcfiles = clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc
|
2006-06-23 06:42:29 -04:00
|
|
|
|
2008-01-23 06:08:39 -05:00
|
|
|
clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc: clutter.pc
|
2006-06-23 06:42:29 -04:00
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
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
|
|
|
install-data-hook:
|
|
|
|
(cd $(DESTDIR)$(pkgconfigdir) && \
|
|
|
|
test -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc && \
|
2008-01-23 06:08:39 -05:00
|
|
|
rm -f clutter-@CLUTTER_MAJORMINOR@.pc && \
|
|
|
|
cp -f clutter-$(DEFAULT_FLAVOUR)-@CLUTTER_MAJORMINOR@.pc clutter-@CLUTTER_MAJORMINOR@.pc)
|
2007-05-25 06:56:09 -04:00
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -f $(DESTDIR)$(pkgconfigdir)/clutter-@CLUTTER_MAJORMINOR@.pc
|
|
|
|
|
|
|
|
|
2007-07-25 18:09:53 -04:00
|
|
|
EXTRA_DIST = clutter.pc.in HACKING
|
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
|
|
|
|
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*
|
|
|
|
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub \
|
|
|
|
configure depcomp install-sh ltmain.sh \
|
|
|
|
Makefile.in missing config.h.in
|