Am 20.01.2026 um 13:27 schrieb LIU Hao:
在 2026-1-20 20:07, Markus Muetzel 写道:
The file crt/sdks/_mingw_ddk.h.in file should not be installed. But
it should be part of the dist tarball (created with `make dist`).
Source files for `AC_CONFIG_FILES` are distributed implicitly; see
https://www.gnu.org/software/automake/manual/automake.html#index-make-dist
...
The file crt/sdks/_mingw_ddk.h is generated by the configure script.
So, it should not (and cannot) be part of a dist tarball. But it
should be installed. So, the following is probably correct:
nodist_sdkshead_HEADERS =crt/sdks/_mingw_ddk.h
noinst_HEADERS = crt/sdks/_mingw_ddk.h.in
... and even if it wasn't, this is still weird; it belongs in
`EXTRA_DIST`.
You are right. The crt/sdks/_mingw_ddk.h.in file doesn't need to be
added anywhere. `automake` should be handling that by itself.
But reading point 15.2 on [1], I think it would make sense to use the
"nodist_" prefix for the generated file:
nodist_sdkshead_HEADERS = crt/sdks/_mingw_ddk.h
Markus
[1]: https://www.gnu.org/software/automake/manual/1.7.7/html_node/Dist.html
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public