allow install-examples separately from building them (building them

also installs them unless u --disable their install)



SVN revision: 65355
This commit is contained in:
Carsten Haitzler 2011-11-18 03:11:24 +00:00
parent a89d120979
commit 51d4c085a4
2 changed files with 4 additions and 7 deletions

View File

@ -1,9 +1,3 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = lib bin tests
if BUILD_EXAMPLES
SUBDIRS += examples
endif
SUBDIRS = lib bin tests examples

View File

@ -2,6 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in
pkglibdir = $(datadir)/$(PACKAGE)/examples
if BUILD_EXAMPLES
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/src/lib \
@ -30,6 +31,8 @@ eet_data_file_descriptor_02_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS
eet_data_cipher_decipher_SOURCES = eet-data-cipher_decipher.c
eet_data_cipher_decipher_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@
endif
filesdir = $(datadir)/$(PACKAGE)/examples
files_DATA =