From 48ee3ed15f7c5a0191fcdd602c80964413dc5553 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Tue, 9 Sep 2014 12:27:51 +0200 Subject: [PATCH] autotools: extra dist subdirs must be filled with all directory. It is important to remember to also include the one we don't build. --- src/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 689a55f..a4e211d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -115,17 +115,19 @@ if HAVE_ELUA EXAMPLES_SUBDIRS += examples/elua endif -if HAVE_CXX11 -EXAMPLES_SUBDIRS += \ +EXAMPLES_CXX = \ examples/eina_cxx \ examples/eolian_cxx + +if HAVE_CXX11 +EXAMPLES_SUBDIRS += $(EXAMPLES_CXX) endif if ALWAYS_BUILD_EXAMPLES SUBDIRS += . $(EXAMPLES_SUBDIRS) endif -DIST_SUBDIRS += $(EXAMPLES_SUBDIRS) +DIST_SUBDIRS += $(EXAMPLES_SUBDIRS) $(EXAMPLES_CXX) examples: all-am @for d in $(EXAMPLES_SUBDIRS); do \ -- 2.7.4