Is there a way to tell automake not to interpret part of the automakefile?

后端 未结 4 863
情话喂你
情话喂你 2021-01-18 10:06

Is there a way to tell automake not to interpret part of the Makefile.am?

Specifically, I am trying to encode a Makefile conditional in a Makefile.am. As other peop

4条回答
  •  囚心锁ツ
    2021-01-18 10:49

    The simplest way to do so is to insert a space before the ifdef, ifeq, ifneq, else and endif. That way, these keywords are not recognized by the automake parser. Be sure to insert a space, it won't work with a tab.

    source: https://patchwork.kernel.org/patch/6709921/

提交回复
热议问题