问题描述
Automake要求项目的源目录中存在以下标准"文件:
Automake requires that the following "standard" files exist in the source directory of my project:
- 安装
- 新闻
- 自述文件
- 复制
- 作者
- ChangeLog
显然,构建程序不需要这些文件,但是Automake拒绝在没有它们的情况下运行.我知道--add-missing
标志会导致生成样板文件,但我宁愿根本没有这些文件.
Obviously, none of these files are necessary for a program to build, but Automake refuses to run without them. I know about the --add-missing
flag that will cause boilerplate files to be generated, but I would rather not have the files at all.
是否有一种方法可以强制Automake运行并忽略丢失的文件而不生成它们?
Is there a way to force Automake to run and ignore the missing files without generating them?
推荐答案
使用foreign
选项.在文档中查找严格性".
Use the foreign
option. Look up "strictness" in the documentation.
这篇关于Automake会忽略缺少的NEWS/AUTHORS/COPYING/etc.标准文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!