summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-05-10 09:52:23 +0200
committerJosep Torra <n770galaxy@gmail.com>2013-05-10 09:53:17 +0200
commitb94144f3b689aacbe4587b38276ffc5ed85750ac (patch)
tree676ab896aca7c1d05ce979098b7d712c4d29faaf
parenta1b9186859e1c3dfaed4cef4142d2749245349f3 (diff)
Honour '--disable-examples' configure flag
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b84e1c1..ba01ad6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,8 @@
-SUBDIRS = common gst omx tools config examples
+SUBDIRS = common gst omx tools config
+
+if BUILD_EXAMPLES
+SUBDIRS += examples
+endif
ACLOCAL_AMFLAGS = -I m4