summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2014-09-09 12:27:51 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-09-09 12:27:51 +0200
commit48ee3ed15f7c5a0191fcdd602c80964413dc5553 (patch)
tree3d617d653fd02956aa35ccf27c9c8cfd3bf3faef /src/Makefile.am
parent58e241b01b6aa78e6e58dd8969bc6039372c6f69 (diff)
autotools: extra dist subdirs must be filled with all directory.
It is important to remember to also include the one we don't build.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 689a55fa69..a4e211db29 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -115,17 +115,19 @@ if HAVE_ELUA
115EXAMPLES_SUBDIRS += examples/elua 115EXAMPLES_SUBDIRS += examples/elua
116endif 116endif
117 117
118if HAVE_CXX11 118EXAMPLES_CXX = \
119EXAMPLES_SUBDIRS += \
120examples/eina_cxx \ 119examples/eina_cxx \
121examples/eolian_cxx 120examples/eolian_cxx
121
122if HAVE_CXX11
123EXAMPLES_SUBDIRS += $(EXAMPLES_CXX)
122endif 124endif
123 125
124if ALWAYS_BUILD_EXAMPLES 126if ALWAYS_BUILD_EXAMPLES
125SUBDIRS += . $(EXAMPLES_SUBDIRS) 127SUBDIRS += . $(EXAMPLES_SUBDIRS)
126endif 128endif
127 129
128DIST_SUBDIRS += $(EXAMPLES_SUBDIRS) 130DIST_SUBDIRS += $(EXAMPLES_SUBDIRS) $(EXAMPLES_CXX)
129 131
130examples: all-am 132examples: all-am
131 @for d in $(EXAMPLES_SUBDIRS); do \ 133 @for d in $(EXAMPLES_SUBDIRS); do \