From 8d37815a73d30d9b8b394c8192e065fbe48d7bb5 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 2 Oct 2019 10:18:16 +0200 Subject: [PATCH] docs: enable compression for tar file and avoid file name clash Summary: While the target name implies a compression we only ever put this all into a tar archive so far. Using xz compression as we do with our source archives. Also adjust the file naming to avoid clashing with the source tarballs. We used -doc with autotools before, so this is really more of a catchup. Reviewers: bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: ProhtMeyhet, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10266 --- doc/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/meson.build b/doc/meson.build index 11e80dfadc..068554f87b 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -182,8 +182,8 @@ doc_target += custom_target('doxygen', ) compress_target = custom_target('package_doc_tar', - command: [tar, '-C', meson.build_root(), '-cf', 'efl-'+meson.project_version()+'.tar', 'html', 'man'], - output: 'efl-'+meson.project_version()+'.tar', + command: [tar, '-C', meson.build_root(), '--xz', '-cf', 'efl-'+meson.project_version()+'-doc.tar.xz', 'html', 'man'], + output: 'efl-'+meson.project_version()+'-doc.tar.xz', depends: doc_target, build_by_default: false )