Bug 60312 - DIST_SUBDIRS should never appear in a conditional

As it is documented like this:

If SUBDIRS is defined conditionally using Automake conditionals,
Automake will define DIST_SUBDIRS automatically from the possible
values of SUBDIRS in all conditions.

So we don't need to re-define DIST_SUBDIRS in Makefile.am unless
we use AC_SUBST to define SUBDIRS.

Patch from Quentin Glidic
This commit is contained in:
Akira TAGOH 2013-02-05 20:44:18 +09:00
parent 95af7447db
commit 52b2b5c992
1 changed files with 0 additions and 3 deletions

View File

@ -26,9 +26,6 @@ SUBDIRS=fontconfig fc-case fc-lang fc-glyphname src \
fc-validate conf.d test
if ENABLE_DOCS
SUBDIRS += doc
DIST_SUBDIRS = $(SUBDIRS)
else
DIST_SUBDIRS = $(SUBDIRS) doc
endif
AUTOMAKE_OPTIONS = dist-bzip2