stefan pushed a commit to branch efl-1.23.

http://git.enlightenment.org/core/efl.git/commit/?id=170aab58b10c0010ef4884b82c00a9d49d55478f

commit 170aab58b10c0010ef4884b82c00a9d49d55478f
Author: Stefan Schmidt <[email protected]>
Date:   Wed Oct 2 10:18:16 2019 +0200

    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
 )

-- 


Reply via email to