Changeset 7b38f3f
- Timestamp:
- Dec 10, 2016, 11:33:37 PM (8 years ago)
- 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:
- ce7d03e
- Parents:
- 4e56c55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r4e56c55 r7b38f3f 355 355 bld.env['LIB_VERSION'] = LIB_VERSION 356 356 357 # main source 358 bld.recurse('src') 359 357 360 # add sub directories 358 bld.recurse('src')359 361 if bld.env['DEST_OS'] not in ['ios', 'iosimulator', 'android']: 360 362 bld.recurse('examples') 361 363 bld.recurse('tests') 362 364 365 # pkg-config template 363 366 bld( source = 'aubio.pc.in' ) 364 367 368 # documentation 369 txt2man(bld) 370 doxygen(bld) 371 sphinx(bld) 372 373 def txt2man(bld): 365 374 # build manpages from txt files using txt2man 366 375 if bld.env['TXT2MAN']: … … 382 391 bld( source = bld.path.ant_glob('doc/*.txt') ) 383 392 393 def doxygen(bld): 384 394 # build documentation from source files using doxygen 385 395 if bld.env['DOXYGEN']: … … 392 402 relative_trick = True) 393 403 404 def sphinx(bld): 394 405 # build documentation from source files using sphinx-build 395 406 if bld.env['SPHINX']: 396 bld( name = 'sphinx', rule = ' make html',397 source = ['doc/conf.py'] + bld.path.ant_glob('doc/**.rst'),398 cwd = 'doc')407 bld( name = 'sphinx', rule = '${SPHINX} -b html -a -q ../doc sphinx', 408 source = 'doc/conf.py', 409 target = ['sphinx/']) 399 410 bld.install_files( '${DATAROOTDIR}' + '/doc/libaubio-doc/sphinx', 400 411 bld.path.ant_glob('doc/_build/html/**'), 401 412 cwd = bld.path.find_dir ('doc/_build/html'), 402 413 relative_trick = True) 414 415 # register the previous rules as build rules 416 from waflib.Build import BuildContext 417 418 class build_txt2man(BuildContext): 419 cmd = 'txt2man' 420 fun = 'txt2man' 421 422 class build_manpages(BuildContext): 423 cmd = 'manpages' 424 fun = 'txt2man' 425 426 class build_sphinx(BuildContext): 427 cmd = 'sphinx' 428 fun = 'sphinx' 429 430 class build_doxygen(BuildContext): 431 cmd = 'doxygen' 432 fun = 'doxygen' 403 433 404 434 def shutdown(bld): … … 420 450 ctx.excl += ' **.egg-info' 421 451 ctx.excl += ' **/**.zip **/**.tar.bz2' 452 ctx.excl += ' **.tar.bz2' 422 453 ctx.excl += ' **/doc/full/* **/doc/web/*' 423 454 ctx.excl += ' **/python/*.db'
Note: See TracChangeset
for help on using the changeset viewer.