summaryrefslogtreecommitdiff
path: root/src/lib/ector
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/ector
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 'src/lib/ector')
-rw-r--r--src/lib/ector/cairo/meson.build9
-rw-r--r--src/lib/ector/gl/meson.build9
-rw-r--r--src/lib/ector/meson.build8
-rw-r--r--src/lib/ector/software/meson.build9
4 files changed, 23 insertions, 12 deletions
diff --git a/src/lib/ector/cairo/meson.build b/src/lib/ector/cairo/meson.build
index 123ea90..094aedb 100644
--- a/src/lib/ector/cairo/meson.build
+++ b/src/lib/ector/cairo/meson.build
@@ -31,6 +31,9 @@ foreach eo_file : pub_eo_files
31 '-gchd', '@INPUT@']) 31 '-gchd', '@INPUT@'])
32endforeach 32endforeach
33 33
34install_data(pub_eo_files, 34
35 install_dir: join_paths(eolian_include_dir, package_version_name) 35if get_option('install-eo-files')
36) 36 install_data(pub_eo_files,
37 install_dir: join_paths(eolian_include_dir, package_version_name)
38 )
39endif
diff --git a/src/lib/ector/gl/meson.build b/src/lib/ector/gl/meson.build
index 071e98e..ab87d79 100644
--- a/src/lib/ector/gl/meson.build
+++ b/src/lib/ector/gl/meson.build
@@ -34,6 +34,9 @@ foreach eo_file : pub_eo_files
34 '-gchd', '@INPUT@']) 34 '-gchd', '@INPUT@'])
35endforeach 35endforeach
36 36
37install_data(pub_eo_files, 37
38 install_dir: join_paths(eolian_include_dir, package_version_name) 38if get_option('install-eo-files')
39) 39 install_data(pub_eo_files,
40 install_dir: join_paths(eolian_include_dir, package_version_name)
41 )
42endif
diff --git a/src/lib/ector/meson.build b/src/lib/ector/meson.build
index 5b86466..069e98d 100644
--- a/src/lib/ector/meson.build
+++ b/src/lib/ector/meson.build
@@ -55,9 +55,11 @@ pub_eo_types_files = [
55 'ector_types.eot' 55 'ector_types.eot'
56] 56]
57 57
58install_data(ector_pub_eo_files + pub_eo_types_files, 58if get_option('install-eo-files')
59 install_dir: join_paths(eolian_include_dir, package_version_name) 59 install_data(ector_pub_eo_files + pub_eo_types_files,
60) 60 install_dir: join_paths(eolian_include_dir, package_version_name)
61 )
62endif
61 63
62foreach eo_file : pub_eo_types_files 64foreach eo_file : pub_eo_types_files
63 pub_eo_file_target += custom_target('eolian_gen_' + eo_file, 65 pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
diff --git a/src/lib/ector/software/meson.build b/src/lib/ector/software/meson.build
index 1484553..2dff5be 100644
--- a/src/lib/ector/software/meson.build
+++ b/src/lib/ector/software/meson.build
@@ -45,6 +45,9 @@ if cpu_sse3 == true
45 ector_opt_lib += [ ector_opt ] 45 ector_opt_lib += [ ector_opt ]
46endif 46endif
47 47
48install_data(pub_eo_files, 48
49 install_dir: join_paths(eolian_include_dir, package_version_name) 49if get_option('install-eo-files')
50) 50 install_data(pub_eo_files,
51 install_dir: join_paths(eolian_include_dir, package_version_name)
52 )
53endif