Changeset 127cb7be in mainline


Ignore:
Timestamp:
2019-08-17T14:39:20Z (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:
602b8c0
Parents:
7c6ae0e
Message:

Make doxygen optional

Location:
meson/part
Files:
2 edited

Legend:

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

    r7c6ae0e r127cb7be  
    5757endif
    5858
    59 _patch_file = files('doxygen.cfg.diff')
     59if doxygen.found()
     60        _patch_file = files('doxygen.cfg.diff')
    6061
    61 _gen_cfg = custom_target('doxygen.cfg.gen',
    62         output: 'doxygen.cfg.gen',
    63         command: [ doxygen, '-g', '@OUTPUT@' ],
    64 )
     62        _gen_cfg = custom_target('doxygen.cfg.gen',
     63                output: 'doxygen.cfg.gen',
     64                command: [ doxygen, '-g', '@OUTPUT@' ],
     65        )
    6566
    66 _dox_cfg = custom_target('doxygen.cfg',
    67         output: 'doxygen.cfg',
    68         input: [ _gen_cfg, _patch_file ],
    69         command: [ patch, '-o', '@OUTPUT@', '@INPUT@' ],
    70 )
     67        _dox_cfg = custom_target('doxygen.cfg',
     68                output: 'doxygen.cfg',
     69                input: [ _gen_cfg, _patch_file ],
     70                command: [ patch, '-o', '@OUTPUT@', '@INPUT@' ],
     71        )
    7172
    72 run_target('doxygen', command: [ doxygen, _dox_cfg ])
     73        run_target('doxygen', command: [ doxygen, _dox_cfg ])
     74endif
    7375
    7476# TODO text-xcw
  • meson/part/tools/meson.build

    r7c6ae0e r127cb7be  
    4040cp = find_program('cp')
    4141dirname = find_program('dirname')
    42 doxygen = find_program('doxygen')
     42doxygen = find_program('doxygen', required: false)
    4343find = find_program('find')
    4444grep = find_program('grep')
Note: See TracChangeset for help on using the changeset viewer.