forked from enlightenment/efl
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
This commit is contained in:
parent
be2e0bef07
commit
8d37815a73
|
@ -182,8 +182,8 @@ doc_target += custom_target('doxygen',
|
||||||
)
|
)
|
||||||
|
|
||||||
compress_target = custom_target('package_doc_tar',
|
compress_target = custom_target('package_doc_tar',
|
||||||
command: [tar, '-C', meson.build_root(), '-cf', 'efl-'+meson.project_version()+'.tar', 'html', 'man'],
|
command: [tar, '-C', meson.build_root(), '--xz', '-cf', 'efl-'+meson.project_version()+'-doc.tar.xz', 'html', 'man'],
|
||||||
output: 'efl-'+meson.project_version()+'.tar',
|
output: 'efl-'+meson.project_version()+'-doc.tar.xz',
|
||||||
depends: doc_target,
|
depends: doc_target,
|
||||||
build_by_default: false
|
build_by_default: false
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue