makefile - `make` 中的 `docs` 关键字是什么以及为什么?
问题描述
我试图将文档生成添加到基本的 Makefile 中:
build: fmt docs
# ...
docs:
tfplugindocs
# ...
$ make docs
make: 'docs' is up to date.
$ tfplugindocs
[... does the business]
嗯,好的,编辑 Makefile:
build: fmt doc
# ...
doc:
tfplugindocs
$ make doc
[... does the business]
所以我假设docs
是 CLI 或 Makefile 中的某种关键字;所以当我尝试将它用作“普通”目标的名称时,它并没有达到我的预期。但我在手册或帮助页面中找不到任何提及。
它有什么作用,如何使用,我应该使用它吗?
解决方案
推荐阅读
- node.js - 在多个网站之间共享令牌以防止在每个网站中登录
- python-3.x - “GetProfiles”不适用于我的 ONVIF 相机
- reactjs - 未捕获的类型错误:sweetalert2_react_content_1.default 不是函数
- xor - XOR of 2 lists elements wise in a simple approach
- ios - React Native 状态在更改值后不更新值
- postgresql - Efficient Query for Bulk Delete in Postgres
- laravel - I'm trying to show products related to the category. if I click this category i want to see related products to this category.?
- tensorflow - How is my model working if all the base layer trainables are set to false?
- javascript - Safari show Pop-Up on window.open
- java - java签名“哈希值不匹配”