Changeset 5a19f33


Ignore:
Timestamp:
Dec 11, 2016, 8:02:04 PM (7 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/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
ae785ea
Parents:
875d9d1
Message:

wscript: build sphinx in doc/_build, add a note on install trick

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r875d9d1 r5a19f33  
    410410def sphinx(bld):
    411411    # build documentation from source files using sphinx-build
     412    # note: build in ../doc/_build/html, otherwise waf wont install unsigned files
    412413    if bld.env['SPHINX']:
    413         bld( name = 'sphinx', rule = '${SPHINX} -b html -a -q ../doc sphinx',
     414        bld( name = 'sphinx',
     415                rule = '${SPHINX} -b html -a -q `dirname ${SRC}` `dirname ${TGT}`',
    414416                source = 'doc/conf.py',
    415                 target = ['sphinx/'])
     417                target = '../doc/_build/html/index.html')
    416418        bld.install_files( '${DATAROOTDIR}' + '/doc/libaubio-doc/sphinx',
    417419                bld.path.ant_glob('doc/_build/html/**'),
    418                 cwd = bld.path.find_dir ('doc/_build/html'),
     420                cwd = bld.path.find_dir('doc/_build/html'),
    419421                relative_trick = True)
    420422
Note: See TracChangeset for help on using the changeset viewer.