[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid the double execution of a make info call?
From: |
Paul Smith |
Subject: |
Re: How to avoid the double execution of a make info call? |
Date: |
Thu, 22 Jun 2017 07:50:12 -0400 |
On Thu, 2017-06-22 at 09:36 +0200, SF Markus Elfring wrote:
> > modules_without_mli::=$(filter-out $(basename $(mli_sources)),$(basename
> > $(ml_sources)))
> > $(info modules_without_mli)
> > $(info $(sort $(modules_without_mli)))
>
> Now I observe that the test output occurs twice while I am trying the
> evolving script “~/Projekte/Coccinelle/20160205/parsing_c/Makefile”
> out.
Each $(info ...) function will be expanded exactly once every time the
makefile is parsed.
If you are seeing these values printed multiple times it means that the
makefile is being parsed multiple times. Why that might be, we can't
determine from the information provided. Either you are invoking make
more than once in this subdirectory, or else make has re-executed itself
because this makefile or one of its included files was rebuilt; see
https://www.gnu.org/software/make/manual/html_node/Remaking-Makefiles.html
As always, if you can't figure out what's going on running "make -d"
will help you more than we can.
- Re: Checking application of dependencies from make rules without recipes, (continued)
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/17
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/18
- Re: Checking application of dependencies from make rules without recipes, Paul Smith, 2017/06/18
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/18
- Re: Checking application of dependencies from make rules without recipes, Paul Smith, 2017/06/18
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/18
- Re: Checking application of dependencies from make rules without recipes, Paul Smith, 2017/06/18
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/19
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/20
- Re: How to avoid the double execution of a make info call?, SF Markus Elfring, 2017/06/22
- Re: How to avoid the double execution of a make info call?,
Paul Smith <=
- Re: How to avoid the double execution of a make info call?, SF Markus Elfring, 2017/06/22
- Re: How to avoid the double execution of a make info call?, Martin Dorey, 2017/06/22
- Re: How to avoid the double execution of a make info call?, SF Markus Elfring, 2017/06/22
- Re: How to avoid the double execution of a make info call?, Paul Smith, 2017/06/22
- Re: How to avoid the double execution of a make info call?, SF Markus Elfring, 2017/06/22
- Re: Improving dependency specifications in make rules?, SF Markus Elfring, 2017/06/28
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/27
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/20
- Re: Checking application of dependencies from make rules without recipes, Paul Smith, 2017/06/20
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/20