Am 21.01.2026 um 03:24 schrieb LIU Hao:
在 2026-1-21 01:28, Markus Muetzel 写道:
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

I think this makes sense. However it doesn't prevent _mingw_ddk.h from being distributed. I just noticed this line:

   EXTRA_DIST = $(srcdir)/ChangeLog.* include crt ddk tlb

so this distributes the `crt` directory, overriding everything else.


For me, the only files in the `crt` folder of the build tree are the generated `_mingw.h` and `sdks/_mingw_ddk.h`. Neither of these generated files should probably be part of the distribution tarball. So from what I can see, `crt` should probably be removed from `EXTRA_DIST`.

I don't know if different configuration options would lead to other files in that directory that should actually be included in the dist tarball. In that case, these files could be listed explicitly.

I don't see any `include`, `ddk`, or `tlb` directories in the build tree here. So, maybe these could also be removed from `EXTRA_DIST`?


Markus




_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to