Don't build the examples if it's disabled in configure

Fixes: #657707.
This commit is contained in:
Andoni Morales Alastruey 2011-08-30 16:03:22 +02:00 committed by David Schleef
parent 1f6824cf87
commit e266d52acf

View file

@ -4,4 +4,13 @@ else
CHECK_SUBDIRS=
endif
SUBDIRS= $(CHECK_SUBDIRS) examples
if BUILD_EXAMPLES
EXAMPLES_SUBDIRS= examples
else
EXAMPLES_SUBDIRS=
endif
SUBDIRS= $(CHECK_SUBDIRS) $(EXAMPLES_SUBDIRS)
DIST_SUBDIRS = check examples