efl: distcheck will run tests and compile all examples.

Tests are disabled by default, but they should be mandatory for
distcheck. So should be examples, we should have them to at least
compile.

As there is no way to force "make distcheck" to run "make examples",
I've created --enable-always-build-examples to make examples regular
noinst_PROGRAMS, being always compiled. distcheck will use that
option.



SVN revision: 82276
This commit is contained in:
Gustavo Sverzut Barbieri 2013-01-05 14:41:14 +00:00
parent dc409bc596
commit f7679697c6
8 changed files with 34 additions and 0 deletions

View File

@ -267,3 +267,7 @@ uninstall-local:
for f in $(SRCS) $(DATA_FILES); do \
rm -f $(datadir)/ecore/examples/$$f ; \
done
if ALWAYS_BUILD_EXAMPLES
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
endif

View File

@ -71,3 +71,7 @@ uninstall-local:
for f in $(SRCS) ; do \
rm -f $(datadir)/edbus/examples/$$f ; \
done
if ALWAYS_BUILD_EXAMPLES
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
endif

View File

@ -209,3 +209,8 @@ uninstall-local:
for f in $(SRCS) $(DIST_EDCS) $(DATA_FILES); do \
rm -f $(datadir)/edje/examples/$$f ; \
done
if ALWAYS_BUILD_EXAMPLES
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
nodist_pkgdata_DATA = $(EDJS)
endif

View File

@ -52,3 +52,7 @@ uninstall-local:
for f in $(SRCS) ; do \
rm -f $(datadir)/eet/examples/$$f ; \
done
if ALWAYS_BUILD_EXAMPLES
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
endif

View File

@ -149,3 +149,7 @@ uninstall-local:
done
EXTRA_DIST = addr_book.txt chat.xml
if ALWAYS_BUILD_EXAMPLES
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
endif

View File

@ -51,3 +51,7 @@ uninstall-local:
for f in $(SRCS) ; do \
rm -f $(datadir)/eio/examples/$$f ; \
done
if ALWAYS_BUILD_EXAMPLES
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
endif

View File

@ -87,3 +87,7 @@ uninstall-local:
for f in $(SRCS) ; do \
rm -f $(datadir)/ephysics/examples/$$f ; \
done
if ALWAYS_BUILD_EXAMPLES
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
endif

View File

@ -220,3 +220,8 @@ uninstall-local:
done
EXTRA_DIST = $(EDCS) $(DATA_FILES)
if ALWAYS_BUILD_EXAMPLES
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
nodist_pkgdata_DATA = $(EDJS)
endif