summaryrefslogtreecommitdiff
path: root/src/Makefile_Edje_Cxx.am
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-07-01 13:38:49 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-07-01 13:57:06 -0300
commit951fa3ac29276084769d6717e11ff1c0979a0fda (patch)
treef3e4ff681e17195e189a6a7aad72bc7a8606e23f /src/Makefile_Edje_Cxx.am
parent0cc319a5b2184245405d03233b32cdeca5d35f77 (diff)
downloadefl-951fa3ac29276084769d6717e11ff1c0979a0fda.tar.gz
autotools: Fixed 'make clean' for Eolian-Cxx.
Included all generated C++ headers in CLEANFILES (Automake).
Diffstat (limited to 'src/Makefile_Edje_Cxx.am')
-rw-r--r--src/Makefile_Edje_Cxx.am14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/Makefile_Edje_Cxx.am b/src/Makefile_Edje_Cxx.am
index b41bb29b80..79bd3e1929 100644
--- a/src/Makefile_Edje_Cxx.am
+++ b/src/Makefile_Edje_Cxx.am
@@ -7,17 +7,21 @@ generated_edje_cxx_bindings = \
lib/edje/edje_object.eo.hh \
lib/edje/edje_edit.eo.hh
-installed_edjecxxmainheadersdir = $(includedir)/edje-cxx-@VMAJ@/
-nodist_installed_edjecxxmainheaders_DATA = \
-lib/edje/Edje.hh \
-$(generated_edje_cxx_bindings)
-
lib/edje/Edje.hh: $(generated_edje_cxx_bindings)
@echo -e "#ifndef EFL_CXX_EDJE_HH\n#define EFL_CXX_EDJE_HH\n" > $(top_builddir)/src/lib/edje/Edje.hh
@echo -e "#ifdef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/edje/Edje.hh
@for i in $(generated_edje_cxx_bindings); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/edje/Edje.hh; done
@echo -e "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/edje/Edje.hh
+CLEANFILES += \
+$(generated_edje_cxx_bindings) \
+lib/edje/Edje.hh
+
+installed_edjecxxmainheadersdir = $(includedir)/edje-cxx-@VMAJ@/
+nodist_installed_edjecxxmainheaders_DATA = \
+lib/edje/Edje.hh \
+$(generated_edje_cxx_bindings)
+
### Unit tests
if EFL_ENABLE_TESTS