[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] src/ layout
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-inetutils] src/ layout |
Date: |
Wed, 21 Oct 2009 16:13:08 +0300 |
Alfred M. Szmidt <address@hidden> 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