Hello!

Daniel Kabs wrote:
about how to include a conditional, e.g.

  ifeq ($(MAKECMDGOALS),help)
    MAKEFLAGS = -k
  endif

Just found out that make knows "Target-specific Variable Values"
(see manual rev 3.80, paragraph 6.10)

So in this very special case, you can rewrite the conditional as:

help: MAKEFLAGS = -k

This has to be written on it's onw line separate from the already existing "help" target.

Another workaround brought to you by
Daniel :-)

_______________________________________________
help-gnu-utils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to