summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-01-13 18:42:29 +0100
committerErik de Castro Lopo <erikd@mega-nerd.com>2017-01-15 12:34:03 +1100
commitcc08bebaaa07559bf5879541e6f2c6661a669f87 (patch)
treebe4268966f988b9355cdd2a310fe741792f1814f /Makefile.am
parent8967db0cb0fa3dcac00c12b056a7af1a58a3efa8 (diff)
downloadflac-cc08bebaaa07559bf5879541e6f2c6661a669f87.tar.gz
Make building/installing examples optional
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a325e3a9..38aea04a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,7 +31,11 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = doc include m4 man src examples test build objs microbench
+SUBDIRS = doc include m4 man src test build objs microbench
+
+if EXAMPLES
+SUBDIRS += examples
+endif
EXTRA_DIST = \
COPYING.FDL \