Alfred M. Szmidt <[email protected]> ha escrit:

> I don't think that using DIST_SUBDIRS would be much cleaner vs. using
> bin_PROGRAMS = @ftp@ ...; which is what we currently do (more or
> less).

It actually is. Instead of modifying each */Makefile.am, you modify
only the top-level one, adding conditionals to SUBDIRS where
appropriate, e.g.:

if TELNET_COND
  TELNET_DIR=telnet
endif
if IFCONFIG_CONF
  IFCONFIG_DIR=ifconfig
endif  
# ... more follow ...
SUBDIRS = lib headers libinetutils @TELNET_DIR@ @IFCONFIG_DIR@ ...

It does not require adding EXTRA_DIST, which is necessary in the
current approach and will be necessary in the one you propose.

Regards,
Sergey


Reply via email to