> 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, 

Not if you only have a src/Makefile.am though.

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

Actually, it won't.  Since we still end up using _SOURCES which always
get added to the dist list, and we can do:

bin_PROGRAMS = something-to-always-build
if want_ftpd
bin_PROGRAMS += ftpd
endif

to get around the fact that we need to use EXTRA_PROGRAMS.


Reply via email to