summaryrefslogtreecommitdiff
path: root/src/lib/emotion/meson.build
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-03-14 12:43:51 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-03-14 12:44:00 -0400
commit30bb8395c38bbbdd21708ddc5413c869aca6714b (patch)
treef071ebd208c45a159df4dcc893c93ce38fd229dd /src/lib/emotion/meson.build
parent8a6e89358dcf1dc3f7ee266f104cc943bb6fadc0 (diff)
build: add a option to disable eo file installation
Summary: this is done because .eo files are not stable, and in order to stop people depending on it, its better for now to disable the installation of them for now. ref T7676 Reviewers: stefan_schmidt, cedric, zmike, devilhorns Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7676 Differential Revision: https://phab.enlightenment.org/D7897
Diffstat (limited to '')
-rw-r--r--src/lib/emotion/meson.build12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/emotion/meson.build b/src/lib/emotion/meson.build
index 93218828b3..6f2717dfa6 100644
--- a/src/lib/emotion/meson.build
+++ b/src/lib/emotion/meson.build
@@ -1,11 +1,11 @@
1pub_legacy_eo_files = [ 1pub_eo_file = [
2 'efl_canvas_video.eo' 2 'efl_canvas_video.eo'
3] 3]
4 4
5pub_eo_file_target = [] 5pub_eo_file_target = []
6priv_eo_file_target = [] 6priv_eo_file_target = []
7 7
8foreach eo_file : pub_legacy_eo_files 8foreach eo_file : pub_eo_file
9 pub_eo_file_target += custom_target('eolian_gen_' + eo_file, 9 pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
10 input : eo_file, 10 input : eo_file,
11 output : [eo_file + '.h'], 11 output : [eo_file + '.h'],
@@ -62,9 +62,11 @@ emotion = declare_dependency(
62 dependencies: emotion_pub_deps, 62 dependencies: emotion_pub_deps,
63) 63)
64 64
65install_data(pub_legacy_eo_files, 65if get_option('install-eo-files')
66 install_dir: join_paths(eolian_include_dir, package_version_name) 66 install_data(pub_eo_file,
67) 67 install_dir: join_paths(eolian_include_dir, package_version_name)
68 )
69endif
68 70
69install_headers(emotion_header_src, 71install_headers(emotion_header_src,
70 install_dir : dir_package_include, 72 install_dir : dir_package_include,