如何在Automake中安装头文件?

Xiè*_*léi 4 automake

以下声明不起作用:

dist_include_DATA = someheaders.h
Run Code Online (Sandbox Code Playgroud)

哪个导致错误:

Makefile.am:8: `includedir' is not a legitimate directory for `DATA'
Run Code Online (Sandbox Code Playgroud)

使用:

  • GNU Autoconf 2.65
  • GNU Automake 1.11.1
  • GNU Make 3.81

Jac*_*lly 8

include_HEADERS = someheader.h
Run Code Online (Sandbox Code Playgroud)