Changeset 740e952 in mainline for meson.build


Ignore:
Timestamp:
2019-08-17T12:49:43Z (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:
b2695b9
Parents:
71069a9
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-27 16:04:58)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
Message:

more install tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • meson.build

    r71069a9 r740e952  
    326326subdir('meson' / 'arch' / UARCH)
    327327
     328install_files = []
     329install_deps = []
     330
    328331subdir('kernel')
    329332subdir('uspace')
     
    393396
    394397install_data('Makefile.common', 'Makefile.config', install_dir: 'config')
     398
     399
     400# Emit and register the install script.
     401
     402install_script_text = []
     403
     404foreach f : install_files
     405        _cmd = 'mkdir -p "${MESON_INSTALL_DESTDIR_PREFIX}@0@" && cp -L -T "@1@" "${MESON_INSTALL_DESTDIR_PREFIX}@0@/@2@"'
     406        install_script_text += _cmd.format(f[0], f[1], f[2])
     407endforeach
     408
     409install_script_text += uspace_lib_install_script_text
     410
     411configure_file(
     412        configuration: { 'text' : '\n'.join(install_script_text) },
     413        input: 'install.sh.in',
     414        output: 'install.sh',
     415)
     416
     417meson.add_install_script(meson.current_build_dir() / 'install.sh')
Note: See TracChangeset for help on using the changeset viewer.