summaryrefslogtreecommitdiff
path: root/m4/ax_code_coverage.m4
diff options
context:
space:
mode:
authorBastien Roucariès <bastien.roucaries+debian@gmail.com>2017-07-25 17:20:33 +0200
committerBastien Roucariès <bastien.roucaries+debian@gmail.com>2017-07-25 17:20:33 +0200
commitd31eeb8fba5c320ffec632095324f239691c0545 (patch)
tree864eab68e508950d75f87613a580e8427d8a198a /m4/ax_code_coverage.m4
parent55f6f9a88add2010a5ab7bcbd5f715a2801cf272 (diff)
downloadautoconf-archive-d31eeb8fba5c320ffec632095324f239691c0545.tar.gz
Move git ignore to top
It is better for semantic to assign variable at top of rules
Diffstat (limited to 'm4/ax_code_coverage.m4')
-rw-r--r--m4/ax_code_coverage.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/ax_code_coverage.m4 b/m4/ax_code_coverage.m4
index 03f2c95..6484f03 100644
--- a/m4/ax_code_coverage.m4
+++ b/m4/ax_code_coverage.m4
@@ -75,7 +75,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-#serial 24
+#serial 25
AC_DEFUN([AX_CODE_COVERAGE],[
dnl Check for --enable-code-coverage
@@ -221,6 +221,9 @@ $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
CODE_COVERAGE_IGNORE_PATTERN ?=
+GITIGNOREFILES ?=
+GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
+
code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\
@@ -250,9 +253,6 @@ code-coverage-capture-hook:
'"$CODE_COVERAGE_RULES_CLEAN"'
-GITIGNOREFILES ?=
-GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
-
A''M_DISTCHECK_CONFIGURE_FLAGS ?=
A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage