1
0
Fork 0
mutter-performance-source/Makefile.am
Emmanuele Bassi 0447eea588 2008-03-03 Emmanuele Bassi <ebassi@openedhand.com>
* Makefile.am: Do not recurse into doc if we did not explicitly
	enabled the documentation build; we just recurse into doc if we
	are doing a dist or a distcheck.
2008-03-03 18:04:16 +00:00

49 lines
994 B
Makefile

NULL =
SUBDIRS = clutter tests
if ENABLE_GTK_DOC
SUBDIRS += doc
endif
DIST_SUBDIRS = clutter tests doc
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 $< $@
# clutter-<flavour>-<major>.<minor>.pc - for backend-specific dependencies
clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc: clutter.pc
@cp $< $@
pkgconfig_DATA = $(pcfiles)
pkgconfigdir = $(libdir)/pkgconfig
DEFAULT_FLAVOUR = @CLUTTER_FLAVOUR@
EXTRA_DIST = clutter.pc.in HACKING
CLEANFILES = $(pcfiles)
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = \
aclocal.m4 \
compile \
config.guess \
config.h.in \
config.sub \
configure \
depcomp \
gtk-doc.make \
install-sh \
ltmain.sh \
Makefile.in \
missing \
$(NULL)