Changeset eb9c598 in mainline


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:
19c2b44
Parents:
200b211
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-15 21:28:34)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:44)
Message:

Move doxygen target to meson/part/extra_targets

Files:
1 deleted
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • meson/part/extra_targets/meson.build

    r200b211 reb9c598  
     1#
     2# Copyright (c) 2017 Jiri Svoboda
     3# Copyright (c) 2019 Jiří Zárevúcky
     4# All rights reserved.
     5#
     6# Redistribution and use in source and binary forms, with or without
     7# modification, are permitted provided that the following conditions
     8# are met:
     9#
     10# - Redistributions of source code must retain the above copyright
     11#   notice, this list of conditions and the following disclaimer.
     12# - Redistributions in binary form must reproduce the above copyright
     13#   notice, this list of conditions and the following disclaimer in the
     14#   documentation and/or other materials provided with the distribution.
     15# - The name of the author may not be used to endorse or promote products
     16#   derived from this software without specific prior written permission.
     17#
     18# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     19# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     20# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     21# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     22# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     23# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     27# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     28#
     29
    130run_target('config',
    231        command: [
     
    2857endif
    2958
     59_patch_file = files('doxygen.cfg.diff')
     60
     61_gen_cfg = custom_target('doxygen.cfg.gen',
     62        output: 'doxygen.cfg.gen',
     63        command: [ doxygen, '-g', '@OUTPUT@' ],
     64)
     65
     66_dox_cfg = custom_target('doxygen.cfg',
     67        output: 'doxygen.cfg',
     68        input: [ _gen_cfg, _patch_file ],
     69        command: [ patch, '-o', '@OUTPUT@', '@INPUT@' ],
     70)
     71
     72run_target('doxygen', command: [ doxygen, _dox_cfg ])
    3073
    3174# TODO text-xcw
  • meson/part/tools/meson.build

    r200b211 reb9c598  
    77_tools_dir = meson.source_root() / 'tools'
    88
     9basename = find_program('basename')
    910cc = meson.get_compiler('c')
    10 basename = find_program('basename')
     11config_py = find_program(_tools_dir / 'config.py')
    1112cp = find_program('cp')
    1213dirname = find_program('dirname')
     14doxygen = find_program('doxygen')
    1315find = find_program('find')
    1416grep = find_program('grep')
     
    1719mkfat = find_program(_tools_dir / 'mkfat.py')
    1820mkuimage = find_program(_tools_dir / 'mkuimage.py')
    19 config_py = find_program(_tools_dir / 'config.py')
    2021objcopy = find_program('objcopy')
    2122objdump = find_program('objdump')
     23patch = find_program('patch')
    2224sed = find_program('sed')
    2325unzip = find_program('unzip')
Note: See TracChangeset for help on using the changeset viewer.