From 944abb7ea37c2909969890e967521907b982435d Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Thu, 27 Aug 2015 15:26:30 -0700 Subject: Pass --enable-coverage on to make distcheck Instead of enforcing this in eos-coverage.m4, the package should opt in to this itself. The new AM_CONDITIONAL makes this easy. [endlessm/eos-sdk#3303] --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 61a528f..9805505 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,6 +26,9 @@ AM_CFLAGS = @STRICT_CFLAGS@ # Make sure to run Gtk-doc tests and build the documentation when doing # 'make distcheck' AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-gir-doc --enable-js-doc +if EOS_ENABLE_COVERAGE +AM_DISTCHECK_CONFIGURE_FLAGS += --enable-coverage --with-coverage-dir=@EOS_COVERAGE_DIR@ +endif EOS_ENABLE_COVERAGE # Generated files that 'make clean' should erase CLEANFILES = -- cgit v1.2.3