Changeset 641e533 for wscript


Ignore:
Timestamp:
Dec 1, 2016, 8:45:27 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:
7a1bbbd
Parents:
fe957ad
Message:

wscript: use DATAROOTDIR instead of PREFIX/share

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rfe957ad r641e533  
    367367        from waflib import TaskGen
    368368        if 'MANDIR' not in bld.env:
    369             bld.env['MANDIR'] = bld.env['PREFIX'] + '/share/man'
     369            bld.env['MANDIR'] = bld.env['DATAROOTDIR'] + '/man'
    370370        rule_str = '${TXT2MAN} -t `basename ${TGT} | cut -f 1 -d . | tr a-z A-Z`'
    371371        rule_str += ' -r ${PACKAGE}\\ ${VERSION} -P ${PACKAGE}'
     
    387387                source = 'doc/web.cfg',
    388388                cwd = 'doc')
    389         bld.install_files( '${PREFIX}' + '/share/doc/libaubio-doc',
     389        bld.install_files( '${DATAROOTDIR}' + '/doc/libaubio-doc',
    390390                bld.path.ant_glob('doc/web/html/**'),
    391391                cwd = bld.path.find_dir ('doc/web'),
     
    397397                source = ['doc/conf.py'] + bld.path.ant_glob('doc/**.rst'),
    398398                cwd = 'doc')
    399         bld.install_files( '${PREFIX}' + '/share/doc/libaubio-doc/sphinx',
     399        bld.install_files( '${DATAROOTDIR}' + '/doc/libaubio-doc/sphinx',
    400400                bld.path.ant_glob('doc/_build/html/**'),
    401401                cwd = bld.path.find_dir ('doc/_build/html'),
Note: See TracChangeset for help on using the changeset viewer.