15.12.Target

在所有的变量被定义后,可以定义可选的make(1)目标。在不同阶段的运行中,要保持 pre-post- 的前面并且顺序一致。

  • fetch

  • extract

  • patch

  • configure

  • build

  • install

  • test

提示

当使用选项助手目标时,保持它们按字母顺序排序,但保持 -on-off 之前。当同时使用主目标时,保持主目标在可选目标之前。

post-install:
	# install generic bits

post-install-DOCS-on:
	# Install documentation

post-install-X11-on:
	# Install X11 related bits

post-install-X11-off:
	# Install bits that should be there if X11 is disabled

最后更新于

FreeBSD 中文社区