mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
0447eea588
* 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.
50 lines
994 B
Makefile
50 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)
|