summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-11-20 14:13:41 +0900
committerHermet Park <hermetpark@gmail.com>2019-11-20 14:13:41 +0900
commit8e0b46975dfec2d7998e639fb642f687ed8826b1 (patch)
treeb6be26229320123e3bd263bf77507cd8e68547a0 /doc
parent583e7465cb939abbe853c88f02fa10141cd799f0 (diff)
parentdb68e45fede1fa9056ebfcac8ebd7ca320a28a54 (diff)
Merge branch 'master' into devs/hermet/lottie
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/efl_copy.sh1
-rw-r--r--doc/meson.build10
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/efl_copy.sh b/doc/efl_copy.sh
new file mode 100755
index 0000000000..af975fbd8f
--- /dev/null
+++ b/doc/efl_copy.sh
@@ -0,0 +1 @@
cp $@
diff --git a/doc/meson.build b/doc/meson.build
index 81c0e34910..18b9aeecf4 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -104,6 +104,7 @@ widget_preview_eps = custom_target('widget_preview_prefs_epc',
104 104
105shot_sh = find_program('shot.sh') 105shot_sh = find_program('shot.sh')
106tar = find_program('tar') 106tar = find_program('tar')
107efl_copy = find_program('efl_copy.sh')
107 108
108foreach text_filter_property : text_filter_properties 109foreach text_filter_property : text_filter_properties
109 text = text_filter_property[0] 110 text = text_filter_property[0]
@@ -181,10 +182,17 @@ doc_target += custom_target('doxygen',
181 build_by_default: false 182 build_by_default: false
182) 183)
183 184
185# This is not pretty but meson does not seem to allow wildcards in plain cp commands
186copy_images = custom_target('documentation images',
187 command: [efl_copy, '-rf', join_paths(meson.current_source_dir(), 'img', '*.png'), 'html'],
188 output: ['empty_img_copy'],
189 build_by_default: false
190)
191
184compress_target = custom_target('package_doc_tar', 192compress_target = custom_target('package_doc_tar',
185 command: [tar, '-C', meson.build_root(), '--xz', '-cf', 'efl-'+meson.project_version()+'-doc.tar.xz', 'html', 'man'], 193 command: [tar, '-C', meson.build_root(), '--xz', '-cf', 'efl-'+meson.project_version()+'-doc.tar.xz', 'html', 'man'],
186 output: 'efl-'+meson.project_version()+'-doc.tar.xz', 194 output: 'efl-'+meson.project_version()+'-doc.tar.xz',
187 depends: doc_target, 195 depends: [doc_target, copy_images],
188 build_by_default: false 196 build_by_default: false
189) 197)
190 198