Changeset 403e9dd
- Timestamp:
- Dec 8, 2013, 4:10:40 AM (11 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- 8122e54a
- Parents:
- 49e40cc
- Files:
-
- 7 added
- 6 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r49e40cc r403e9dd 213 213 ctx.define('PACKAGE', APPNAME) 214 214 215 # check if docbook-to-man is installed, optional215 # check if txt2man is installed, optional 216 216 try: 217 ctx.find_program(' docbook-to-man', var='DOCBOOKTOMAN')217 ctx.find_program('txt2man', var='TXT2MAN') 218 218 except ctx.errors.ConfigurationError: 219 ctx.to_log(' docbook-to-man was not found (ignoring)')219 ctx.to_log('txt2man was not found (ignoring)') 220 220 221 221 def build(bld): … … 234 234 235 235 # build manpages from sgml files 236 if bld.env[' DOCBOOKTOMAN']:236 if bld.env['TXT2MAN']: 237 237 from waflib import TaskGen 238 238 if 'MANDIR' not in bld.env: 239 239 bld.env['MANDIR'] = bld.env['PREFIX'] + '/share/man' 240 rule_str = '${TXT2MAN} -t `basename ${TGT} | cut -f 1 -d . | tr a-z A-Z`' 241 rule_str += ' -r ${PACKAGE}\\ ${VERSION} -P ${PACKAGE}' 242 rule_str += ' -v ${PACKAGE}\\ User\\\'s\\ manual' 243 rule_str += ' -s 1 ${SRC} > ${TGT}' 240 244 TaskGen.declare_chain( 241 name = 'docbooktoman', 242 rule = '${DOCBOOKTOMAN} ${SRC} > ${TGT}', 243 ext_in = '.sgml', 245 name = 'txt2man', 246 rule = rule_str, 247 #rule = '${TXT2MAN} -p -P aubio -s 1 -r aubio-0.4.0 ${SRC} > ${TGT}', 248 ext_in = '.txt', 244 249 ext_out = '.1', 245 250 reentrant = False, 246 251 install_path = '${MANDIR}/man1', 247 252 ) 248 bld( source = bld.path.ant_glob('doc/*. sgml') )253 bld( source = bld.path.ant_glob('doc/*.txt') ) 249 254 250 255 """
Note: See TracChangeset
for help on using the changeset viewer.