Mercurial > hg > octave-nkf > gnulib-hg
changeset 11405:8afa6e20fba1
maint.mk: use $(MAKE) $(AM_MAKEFLAGS) not make
* top/maint.mk (init-coverage, build-coverage): Use `$(MAKE)
$(AM_MAKEFLAGS)' rather than plain `make'.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
---|---|
date | Sat, 14 Mar 2009 17:07:45 +0100 |
parents | eb725d01cd4c |
children | ae9bcb808cfd |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + maint.mk: use $(MAKE) $(AM_MAKEFLAGS) not make + * top/maint.mk (init-coverage, build-coverage): Use `$(MAKE) + $(AM_MAKEFLAGS)' rather than plain `make'. + gnulib-tool: execute $MAKE not make * gnulib-tool: Default $MAKE to 'make'. (func_create_testdir, func_create_megatestdir): Use $MAKE rather
--- a/top/maint.mk +++ b/top/maint.mk @@ -2,7 +2,7 @@ # This Makefile fragment is intended to be useful by any GNU-like project. # This file originate from coreutils, CPPI, Bison, and Autoconf. -# Copyright (C) 2001-2008 Free Software Foundation, Inc. +# Copyright (C) 2001-2009 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -110,15 +110,15 @@ # Code Coverage init-coverage: - make clean + $(MAKE) clean lcov --directory . --zerocounters COVERAGE_CCOPTS ?= "-g --coverage" COVERAGE_OUT ?= doc/coverage build-coverage: - make CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) - make CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) check + $(MAKE) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) + $(MAKE) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) check mkdir -p $(COVERAGE_OUT) lcov --directory . --output-file $(COVERAGE_OUT)/$(PACKAGE).info \ --capture