mirror of
https://github.com/brl/mutter.git
synced 2024-12-28 22:02:14 +00:00
e77a6f0af3
When making a distcheck it's usually a good idea to enable very strict compiler flags, like -Werror, to catch stuff that slipped through the development phase. This patch adds a --enable-maintainer-flags command line switch to the configure script, which enables a set of strict compiler flags. The default is not to use them unless explicitly activated. In case of distcheck, this switch is activated when launching the configure script from within the distcheck build directory.
31 lines
982 B
Makefile
31 lines
982 B
Makefile
SUBDIRS = clutter doc tests
|
|
|
|
pcfiles = clutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.pc
|
|
|
|
%-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.pc: %.pc
|
|
cp $< $@
|
|
|
|
pkgconfig_DATA = $(pcfiles)
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
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
|
|
|
|
|
|
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.sub \
|
|
configure depcomp install-sh ltmain.sh \
|
|
Makefile.in missing config.h.in
|