summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-11-18 03:11:24 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-11-18 03:11:24 +0000
commit5b30f24cc1295f4db42d9f5b985e6f98f63ace07 (patch)
tree8869c05d951669c3b0d94a8182725416420fbea1
parent62e989b67e258bb0b2f3b3468a94b0be5ae75d47 (diff)
downloadeet-5b30f24cc1295f4db42d9f5b985e6f98f63ace07.tar.gz
allow install-examples separately from building them (building them
also installs them unless u --disable their install) SVN revision: 65355
-rw-r--r--src/Makefile.am8
-rw-r--r--src/examples/Makefile.am3
2 files changed, 4 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 211b035..d98d3b6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,9 +1,3 @@
MAINTAINERCLEANFILES = Makefile.in
-SUBDIRS = lib bin tests
-
-if BUILD_EXAMPLES
-
-SUBDIRS += examples
-
-endif
+SUBDIRS = lib bin tests examples
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
index dfee9bc..8279445 100644
--- a/src/examples/Makefile.am
+++ b/src/examples/Makefile.am
@@ -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 =