Changeset 2d64a24 for wscript


Ignore:
Timestamp:
Dec 13, 2018, 1:21:24 AM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
Children:
a97eb17
Parents:
6b84d81
Message:

[waf] avoid warnings about build dir traversal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r6b84d81 r2d64a24  
    556556                target = bld.path.find_or_declare('api/index.html'),
    557557                cwd = bld.path.find_dir('doc'))
     558        # evaluate nodes lazily to prevent build directory traversal warnings
    558559        bld.install_files('${DATAROOTDIR}/doc/libaubio-doc/api',
    559                 bld.path.find_or_declare('api').ant_glob('**/*'),
    560                 cwd=bld.path.find_or_declare('api'),
     560                bld.path.find_or_declare('api').ant_glob('**/*',
     561                    generator=True), cwd=bld.path.find_or_declare('api'),
    561562                relative_trick=True)
    562563
     
    580581                source = bld.path.find_dir('doc').ant_glob('*.rst'),
    581582                target = bld.path.find_or_declare('manual/index.html'))
     583        # evaluate nodes lazily to prevent build directory traversal warnings
    582584        bld.install_files('${DATAROOTDIR}/doc/libaubio-doc/manual',
    583                 bld.path.find_or_declare('manual').ant_glob('**/*'),
    584                 cwd=bld.path.find_or_declare('manual'),
     585                bld.path.find_or_declare('manual').ant_glob('**/*',
     586                    generator=True), cwd=bld.path.find_or_declare('manual'),
    585587                relative_trick=True)
    586588
Note: See TracChangeset for help on using the changeset viewer.