Changeset 65860ff


Ignore:
Timestamp:
Sep 30, 2013, 5:18:48 PM (11 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, pitchshift, sampler, timestretch, yinfft+
Children:
8e7d66f
Parents:
0fa325b
git-author:
Paul Brossier <piem@piem.org> (09/17/13 01:25:33)
git-committer:
Paul Brossier <piem@piem.org> (09/30/13 17:18:48)
Message:

wscript: add docbook-to-man rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r0fa325b r65860ff  
    187187    aubiopc.install_path = '${PREFIX}/lib/pkgconfig'
    188188
     189  # install woodblock sound
     190  bld.install_files('${PREFIX}/share/sounds/aubio/',
     191      'sounds/woodblock.aiff')
     192  """
     193
    189194  # build manpages from sgml files
    190   if ctx.env['DOCBOOKTOMAN']:
    191     import TaskGen
     195  if bld.env['DOCBOOKTOMAN']:
     196    from waflib import TaskGen
    192197    TaskGen.declare_chain(
    193198        name    = 'docbooktoman',
     
    197202        reentrant = 0,
    198203    )
    199     manpages = ctx.new_task_gen(name = 'docbooktoman',
    200         source=ctx.path.ant_glob('doc/*.sgml'))
    201     ctx.install_files('${MANDIR}/man1', ctx.path.ant_glob('doc/*.1'))
    202 
    203   # install woodblock sound
    204   bld.install_files('${PREFIX}/share/sounds/aubio/',
    205       'sounds/woodblock.aiff')
    206   """
     204    manpages = bld(name = 'docbooktoman',
     205            source=bld.path.ant_glob('doc/*.sgml'))
     206    bld.install_files('${MANDIR}/man1',
     207            bld.path.ant_glob('doc/*.1'))
    207208
    208209def shutdown(bld):
Note: See TracChangeset for help on using the changeset viewer.