Re: "make dist" and conditional build of autotool-enabled subpackage.

2024-10-15 Thread suzuki toshiya
. Thanks again! mpsuzuki On 2024/10/16 1:07, Zack Weinberg wrote: On Tue, Oct 15, 2024, at 10:38 AM, suzuki toshiya wrote: I'm looking for a combination of the target to include sub-packages which is built conditionally. A package "X" include a libary "Y" as a subpackag

"make dist" and conditional build of autotool-enabled subpackage.

2024-10-15 Thread suzuki toshiya
to execute "Y/configure" when "make dist" is executed but "Y" subdirectory is not configured. It does not work, because "dist-hook" is processed after the preparation of dist directory - non-configured "Y" would block "make dist" if I use DIST_SUBDIRS. Is there any well-known technique matching with such purpose? Regards, suzuki toshiya