Changeset 733aea2


Ignore:
Timestamp:
Sep 30, 2013, 5:18:49 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
c0916f2
Parents:
e57859f
git-author:
Paul Brossier <piem@piem.org> (09/26/13 22:05:26)
git-committer:
Paul Brossier <piem@piem.org> (09/30/13 17:18:49)
Message:

wscript: remove old cruft, fix manpage generation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    re57859f r733aea2  
    183183
    184184  """
    185   # create the aubio.pc file for pkg-config
    186   if ctx.env['TARGET_PLATFORM'] == 'linux':
    187     aubiopc = ctx.new_task_gen('subst')
    188     aubiopc.source = 'aubio.pc.in'
    189     aubiopc.target = 'aubio.pc'
    190     aubiopc.install_path = '${PREFIX}/lib/pkgconfig'
    191 
    192185  # install woodblock sound
    193186  bld.install_files('${PREFIX}/share/sounds/aubio/',
     
    200193  if bld.env['DOCBOOKTOMAN']:
    201194    from waflib import TaskGen
     195    if 'MANDIR' not in bld.env:
     196      bld.env['MANDIR'] = bld.env['PREFIX'] + '/share/man'
    202197    TaskGen.declare_chain(
    203         name    = 'docbooktoman',
    204         rule    = '${DOCBOOKTOMAN} ${SRC} > ${TGT}',
    205         ext_in  = '.sgml',
    206         ext_out = '.1',
    207         reentrant = 0,
     198        name      = 'docbooktoman',
     199        rule      = '${DOCBOOKTOMAN} ${SRC} > ${TGT}',
     200        ext_in    = '.sgml',
     201        ext_out   = '.1',
     202        reentrant = False,
     203        install_path =  '${MANDIR}/man1',
    208204    )
    209     manpages = bld(name = 'docbooktoman',
    210             source=bld.path.ant_glob('doc/*.sgml'))
    211     bld.install_files('${MANDIR}/man1',
    212             bld.path.ant_glob('doc/*.1'))
     205    bld( source = bld.path.ant_glob('doc/*.sgml') )
    213206
    214207def shutdown(bld):
Note: See TracChangeset for help on using the changeset viewer.