Fix EXTRA_DIST dependence on Automake conditionals.
authorBen Pfaff <blp@nicira.com>
Wed, 26 May 2010 23:15:48 +0000 (16:15 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 9 Jun 2010 16:13:11 +0000 (09:13 -0700)
commit9741af797d62aec4cc55d231c093c61e201c8ebe
treea28784ddced3cd331bd85e8ae9e026867a3959dd
parentc73814a3e6cbdf8c4083ef1d510377e41cb82f6a
Fix EXTRA_DIST dependence on Automake conditionals.

Automake respects conditionals around EXTRA_DIST assignments.  That is, if
COND is not true, then the following will not distribute 'myfile':
    if COND
    EXTRA_DIST += myfile
    endif

See http://article.gmane.org/gmane.comp.sysutils.automake.general/10891
for more information.

This behavior is surprising, at least to me.  But we can work around it:
anything that can ever *potentially* be assigned to noinst_HEADERS is
always distributed.  So this commit eliminates the problem by adding
$(EXTRA_DIST) to noinst_HEADERS.
Makefile.am