diff options
author | Alexey Stukalov | 2019-04-25 20:50:45 +0200 |
---|---|---|
committer | Alexey Stukalov | 2019-04-26 14:27:38 +0200 |
commit | 4e04f6d8979a471be616e5ccfe6944859ff14d08 (patch) | |
tree | 8b2cb67a3e1d7ba0f9dfc591a89c4826b27e0ce0 | |
parent | b67c8debf60882db474330d6c638183f2c8615e0 (diff) | |
download | aur-4e04f6d8979a471be616e5ccfe6944859ff14d08.tar.gz |
simplify man pages compression
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 5 insertions, 21 deletions
@@ -413,10 +413,7 @@ package_intel-compiler-base() { msg2 "Copying man pages" mv ${xe_build_dir}/opt/intel/documentation_${_year}/en/man/common/man1/*.1 ${_man_dir} - cd ${_man_dir} - for f in *.1 ; do - gzip $f - done + gzip ${_man_dir}/*.1 msg2 "Moving package files" mv ${xe_build_dir}/opt ${pkgdir} @@ -472,11 +469,7 @@ package_intel-fortran-compiler() { msg2 "Copying man pages" mv ${xe_build_dir}/opt/intel/documentation_${_year}/en/man/common/man1/*.1 ${_man_dir} - - cd ${_man_dir} - for f in *.1 ; do - gzip $f - done + gzip ${_man_dir}/*.1 # Remove duplicate headers found in intel base rm ${xe_build_dir}/opt/intel/${_composer_xe_dir}/linux/compiler/include/omp_lib.f90 @@ -697,10 +690,7 @@ package_intel-vtune-amplifier() { if [[ -d ${xe_build_dir}/opt/intel/vtune_amplifier_xe_${_year}.${_vtune_man_ver}/man/man1 ]] then mv ${xe_build_dir}/opt/intel/vtune_amplifier_xe_${_year}.${_vtune_man_ver}/man/man1/*.1 ${_man_dir} - cd ${_man_dir} - for f in *.1 ; do - gzip $f - done + gzip ${_man_dir}/*.1 fi @@ -742,10 +732,7 @@ package_intel-advisor() { if [[ -d ${xe_build_dir}/opt/intel/advisor_${_year}.${_advisor_man_ver}/man/man1 ]] then mv ${xe_build_dir}/opt/intel/advisor_${_year}.${_advisor_man_ver}/man/man1/*.1 ${_man_dir} - cd ${_man_dir} - for f in *.1 ; do - gzip $f - done + gzip ${_man_dir}/*.1 fi @@ -785,10 +772,7 @@ package_intel-inspector() { if [[ -d ${xe_build_dir}/opt/intel/inspector_${_year}.${_inspector_man_ver}/man/man1 ]] then mv ${xe_build_dir}/opt/intel/inspector_${_year}.${_inspector_man_ver}/man/man1/*.1 ${_man_dir} - cd ${_man_dir} - for f in *.1 ; do - gzip $f - done + gzip ${_man_dir}/*.1 fi |