Changeset 2d64a24


Ignore:
Timestamp:
Dec 13, 2018, 1:21:24 AM (7 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/timestretch, 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.