summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-07-02 12:09:20 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-07-02 20:01:09 -0300
commit073b666022cc39427ccc26574ee3928cb366e674 (patch)
tree3db6866facfe620eb82d3806e6aaa04e65682353 /src/examples
parent7d46c921cb828b289005228123cbfc6ed463b912 (diff)
autotools: Fixed 'make examples' and 'make examples-install'
It was broken in set-ups with ($(builddir) != $(srcdir)) && ($(builddir) != $(srcdir)/build)
Diffstat (limited to '')
-rw-r--r--src/examples/ecore/Makefile.am2
-rw-r--r--src/examples/ecore_avahi/Makefile.am4
-rw-r--r--src/examples/edje/Makefile.am3
-rw-r--r--src/examples/eet/Makefile.am2
-rw-r--r--src/examples/eina/Makefile.am2
-rw-r--r--src/examples/eina_cxx/Makefile.am2
-rw-r--r--src/examples/eio/Makefile.am2
-rw-r--r--src/examples/eldbus/Makefile.am2
-rw-r--r--src/examples/elua/Makefile.am2
-rw-r--r--src/examples/emotion/Makefile.am2
-rw-r--r--src/examples/eo/Makefile.am9
-rw-r--r--src/examples/ephysics/Makefile.am2
-rw-r--r--src/examples/ethumb_client/Makefile.am2
-rw-r--r--src/examples/evas/Makefile.am2
14 files changed, 20 insertions, 18 deletions
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index f3f0d4c..dfd62ea 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -288,7 +288,7 @@ clean-local:
288 288
289install-examples: 289install-examples:
290 mkdir -p $(datadir)/ecore/examples 290 mkdir -p $(datadir)/ecore/examples
291 $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ecore/examples 291 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ecore/examples
292 292
293uninstall-local: 293uninstall-local:
294 for f in $(SRCS) $(DATA_FILES); do \ 294 for f in $(SRCS) $(DATA_FILES); do \
diff --git a/src/examples/ecore_avahi/Makefile.am b/src/examples/ecore_avahi/Makefile.am
index 462ece3..8ce9469 100644
--- a/src/examples/ecore_avahi/Makefile.am
+++ b/src/examples/ecore_avahi/Makefile.am
@@ -37,8 +37,8 @@ clean-local:
37 37
38install-examples: 38install-examples:
39 mkdir -p $(datadir)/ecore_avahi/examples 39 mkdir -p $(datadir)/ecore_avahi/examples
40 $(install_sh_DATA) -c ecore_avahi_browse_example.c $(datadir)/ecore_avahi/examples 40 $(install_sh_DATA) -c $(srcdir)/ecore_avahi_browse_example.c $(datadir)/ecore_avahi/examples
41 $(install_sh_DATA) -c ecore_avahi_example.c $(datadir)/ecore_avahi/examples 41 $(install_sh_DATA) -c $(srcdir)/ecore_avahi_example.c $(datadir)/ecore_avahi/examples
42 42
43uninstall-local: 43uninstall-local:
44 rm -f $(datadir)/ecore_avahi/examples/ecore_avahi_example.c 44 rm -f $(datadir)/ecore_avahi/examples/ecore_avahi_example.c
diff --git a/src/examples/edje/Makefile.am b/src/examples/edje/Makefile.am
index 49d7df8..9bc26d0 100644
--- a/src/examples/edje/Makefile.am
+++ b/src/examples/edje/Makefile.am
@@ -199,7 +199,8 @@ clean-local:
199 199
200install-examples: $(EDJS) 200install-examples: $(EDJS)
201 mkdir -p $(datadir)/edje/examples 201 mkdir -p $(datadir)/edje/examples
202 $(install_sh_DATA) -c $(SRCS) $(EDJS) $(DIST_EDCS) $(DATA_FILES) $(datadir)/edje/examples 202 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DIST_EDCS) $(DATA_FILES) $(datadir)/edje/examples
203 cd $(builddir) && $(install_sh_DATA) -c $(EDJS) $(datadir)/edje/examples
203 204
204uninstall-local: 205uninstall-local:
205 for f in $(SRCS) $(DIST_EDCS) $(DATA_FILES); do \ 206 for f in $(SRCS) $(DIST_EDCS) $(DATA_FILES); do \
diff --git a/src/examples/eet/Makefile.am b/src/examples/eet/Makefile.am
index 800769a..8095a3d 100644
--- a/src/examples/eet/Makefile.am
+++ b/src/examples/eet/Makefile.am
@@ -51,7 +51,7 @@ clean-local:
51 51
52install-examples: 52install-examples:
53 mkdir -p $(datadir)/eet/examples 53 mkdir -p $(datadir)/eet/examples
54 $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eet/examples 54 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eet/examples
55 55
56uninstall-local: 56uninstall-local:
57 for f in $(SRCS) $(DATA_FILES); do \ 57 for f in $(SRCS) $(DATA_FILES); do \
diff --git a/src/examples/eina/Makefile.am b/src/examples/eina/Makefile.am
index 6c1abde..1f56b29 100644
--- a/src/examples/eina/Makefile.am
+++ b/src/examples/eina/Makefile.am
@@ -147,7 +147,7 @@ clean-local:
147 147
148install-examples: 148install-examples:
149 mkdir -p $(datadir)/eina/examples 149 mkdir -p $(datadir)/eina/examples
150 $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eina/examples 150 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eina/examples
151 151
152uninstall-local: 152uninstall-local:
153 for f in $(SRCS) $(DATA_FILES); do \ 153 for f in $(SRCS) $(DATA_FILES); do \
diff --git a/src/examples/eina_cxx/Makefile.am b/src/examples/eina_cxx/Makefile.am
index 437d01e..5edbbb8 100644
--- a/src/examples/eina_cxx/Makefile.am
+++ b/src/examples/eina_cxx/Makefile.am
@@ -29,7 +29,7 @@ clean-local:
29 29
30install-examples: 30install-examples:
31 mkdir -p $(datadir)/eina/examples 31 mkdir -p $(datadir)/eina/examples
32 $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eina/examples 32 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eina/examples
33 33
34uninstall-local: 34uninstall-local:
35 for f in $(SRCS) $(DATA_FILES); do \ 35 for f in $(SRCS) $(DATA_FILES); do \
diff --git a/src/examples/eio/Makefile.am b/src/examples/eio/Makefile.am
index 6b04de9..ea34e81 100644
--- a/src/examples/eio/Makefile.am
+++ b/src/examples/eio/Makefile.am
@@ -50,7 +50,7 @@ clean-local:
50 50
51install-examples: 51install-examples:
52 mkdir -p $(datadir)/eio/examples 52 mkdir -p $(datadir)/eio/examples
53 $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eio/examples 53 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eio/examples
54 54
55uninstall-local: 55uninstall-local:
56 for f in $(SRCS) $(DATA_FILES); do \ 56 for f in $(SRCS) $(DATA_FILES); do \
diff --git a/src/examples/eldbus/Makefile.am b/src/examples/eldbus/Makefile.am
index e0c79b3..6cb4da0 100644
--- a/src/examples/eldbus/Makefile.am
+++ b/src/examples/eldbus/Makefile.am
@@ -84,7 +84,7 @@ clean-local:
84 84
85install-examples: 85install-examples:
86 mkdir -p $(datadir)/eldbus/examples 86 mkdir -p $(datadir)/eldbus/examples
87 $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eldbus/examples 87 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eldbus/examples
88 88
89uninstall-local: 89uninstall-local:
90 for f in $(SRCS) $(DATA_FILES); do \ 90 for f in $(SRCS) $(DATA_FILES); do \
diff --git a/src/examples/elua/Makefile.am b/src/examples/elua/Makefile.am
index 9199ac9..5be255e 100644
--- a/src/examples/elua/Makefile.am
+++ b/src/examples/elua/Makefile.am
@@ -11,7 +11,7 @@ clean-local: ;
11 11
12install-examples: 12install-examples:
13 mkdir -p $(datadir)/elua/examples 13 mkdir -p $(datadir)/elua/examples
14 $(install_sh_DATA) -c $(DATA_FILES) $(datadir)/elua/examples 14 cd $(srcdir) && $(install_sh_DATA) -c $(DATA_FILES) $(datadir)/elua/examples
15 15
16uninstall-local: 16uninstall-local:
17 for f in $(DATA_FILES); do \ 17 for f in $(DATA_FILES); do \
diff --git a/src/examples/emotion/Makefile.am b/src/examples/emotion/Makefile.am
index 4c66045..8d5d959 100644
--- a/src/examples/emotion/Makefile.am
+++ b/src/examples/emotion/Makefile.am
@@ -50,7 +50,7 @@ clean-local:
50 50
51install-examples: 51install-examples:
52 mkdir -p $(datadir)/emotion/examples 52 mkdir -p $(datadir)/emotion/examples
53 $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/emotion/examples 53 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/emotion/examples
54 54
55uninstall-local: 55uninstall-local:
56 for f in $(SRCS) $(DATA_FILES); do \ 56 for f in $(SRCS) $(DATA_FILES); do \
diff --git a/src/examples/eo/Makefile.am b/src/examples/eo/Makefile.am
index d8e26e9..a90fe7c 100644
--- a/src/examples/eo/Makefile.am
+++ b/src/examples/eo/Makefile.am
@@ -75,14 +75,15 @@ clean-local:
75 75
76install-examples: 76install-examples:
77 mkdir -p $(datadir)/eo/examples 77 mkdir -p $(datadir)/eo/examples
78 $(install_sh_DATA) -c $(DATA_FILES) $(datadir)/eo/examples
79 mkdir -p $(datadir)/eo/examples/isa 78 mkdir -p $(datadir)/eo/examples/isa
80 $(install_sh_DATA) -c $(eo_isa_SOURCES) $(datadir)/eo/examples/isa
81 mkdir -p $(datadir)/eo/examples/simple 79 mkdir -p $(datadir)/eo/examples/simple
82 $(install_sh_DATA) -c $(eo_simple_SOURCES) $(datadir)/eo/examples/simple 80 cd $(srcdir); \
81 $(install_sh_DATA) -c $(DATA_FILES) $(datadir)/eo/examples; \
82 $(install_sh_DATA) -c $(eo_isa_SOURCES) $(datadir)/eo/examples/isa; \
83 $(install_sh_DATA) -c $(eo_simple_SOURCES) $(datadir)/eo/examples/simple;
83if EO_BUILD_EXAMPLE_EVAS 84if EO_BUILD_EXAMPLE_EVAS
84 mkdir -p $(datadir)/eo/examples/evas 85 mkdir -p $(datadir)/eo/examples/evas
85 $(install_sh_DATA) -c $(eo_evas_SOURCES) $(datadir)/eo/examples/evas 86 cd $(srcdir) && $(install_sh_DATA) -c $(eo_evas_SOURCES) $(datadir)/eo/examples/evas
86endif 87endif
87 88
88uninstall-local: 89uninstall-local:
diff --git a/src/examples/ephysics/Makefile.am b/src/examples/ephysics/Makefile.am
index fc2c18f..58eba94 100644
--- a/src/examples/ephysics/Makefile.am
+++ b/src/examples/ephysics/Makefile.am
@@ -82,7 +82,7 @@ clean-local:
82 82
83install-examples: 83install-examples:
84 mkdir -p $(datadir)/ephysics/examples 84 mkdir -p $(datadir)/ephysics/examples
85 $(install_sh_DATA) -c $(SRCS) $(datadir)/ephysics/examples 85 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(datadir)/ephysics/examples
86 86
87uninstall-local: 87uninstall-local:
88 for f in $(SRCS) ; do \ 88 for f in $(SRCS) ; do \
diff --git a/src/examples/ethumb_client/Makefile.am b/src/examples/ethumb_client/Makefile.am
index f0bf7b4..899a89a 100644
--- a/src/examples/ethumb_client/Makefile.am
+++ b/src/examples/ethumb_client/Makefile.am
@@ -51,7 +51,7 @@ clean-local:
51 51
52install-examples: 52install-examples:
53 mkdir -p $(datadir)/ethumb_client/examples 53 mkdir -p $(datadir)/ethumb_client/examples
54 $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ethumb_client/examples 54 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ethumb_client/examples
55 55
56uninstall-local: 56uninstall-local:
57 for f in $(SRCS) $(DATA_FILES); do \ 57 for f in $(SRCS) $(DATA_FILES); do \
diff --git a/src/examples/evas/Makefile.am b/src/examples/evas/Makefile.am
index b950a9c..f0e8ae8 100644
--- a/src/examples/evas/Makefile.am
+++ b/src/examples/evas/Makefile.am
@@ -272,7 +272,7 @@ clean-local:
272 272
273install-examples: 273install-examples:
274 mkdir -p $(datadir)/evas/examples 274 mkdir -p $(datadir)/evas/examples
275 $(install_sh_DATA) -c $(SRCS) $(EDCS) $(DATA_FILES) $(datadir)/evas/examples 275 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(EDCS) $(DATA_FILES) $(datadir)/evas/examples
276 276
277uninstall-local: 277uninstall-local:
278 for f in $(SRCS) $(EDCS) $(DATA_FILES); do \ 278 for f in $(SRCS) $(EDCS) $(DATA_FILES); do \