Changeset 7749646 in mainline for uspace/lib/meson.build


Ignore:
Timestamp:
2019-08-17T12:49:44Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6068476
Parents:
e3737eda
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-16 17:44:58)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:44)
Message:

Add tools/export.sh to replace make export

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/meson.build

    re3737eda r7749646  
    6464
    6565# Text of the install script.
    66 uspace_lib_install_script_text = []
     66uspace_lib_devel_install_script_text = []
    6767
    6868foreach l : libs
     
    121121                        includes += include_directories(incdir)
    122122
    123                         if CONFIG_DEVEL_FILES and installed_libs.contains(l)
     123                        if installed_libs.contains(l)
    124124                                _sdir = meson.current_source_dir() / l / 'include'
    125                                 uspace_lib_install_script_text += 'cp -R -L -T "@0@" "${DESTDIR}include/lib@1@"'.format(_sdir, l)
     125                                uspace_lib_devel_install_script_text += 'cp -R -L -T "@0@" "${DESTDIR}include/lib@1@"'.format(_sdir, l)
    126126                        endif
    127127                else
    128128                        includes += include_directories(l)
    129129
    130                         if CONFIG_DEVEL_FILES and installed_libs.contains(l)
     130                        if installed_libs.contains(l)
    131131                                _sdir = meson.current_source_dir() / l
    132                                 uspace_lib_install_script_text += 'mkdir -p "${DESTDIR}include/lib@0@"'.format(l)
    133                                 uspace_lib_install_script_text += 'cp -L -t "${DESTDIR}include/lib@0@" "@1@"/*.h || true'.format(l, _sdir)
     132                                uspace_lib_devel_install_script_text += 'mkdir -p "${DESTDIR}include/lib@0@"'.format(l)
     133                                uspace_lib_devel_install_script_text += 'cp -L -t "${DESTDIR}include/lib@0@" "@1@"/*.h || true'.format(l, _sdir)
    134134                        endif
    135135                endif
Note: See TracChangeset for help on using the changeset viewer.