Don't install man pages on Windows
This commit is contained in:
parent
5d135738cc
commit
3238e90969
2 changed files with 6 additions and 3 deletions
|
|
@ -54,10 +54,12 @@ if os.name == 'posix':
|
|||
defaults.prefix = '/usr/local'
|
||||
defaults.boostIncDir = '/usr/include'
|
||||
defaults.boostLibDir = '/usr/lib'
|
||||
env['INSTALL_MANPAGES'] = True
|
||||
elif os.name == 'nt':
|
||||
defaults.prefix = os.environ['ProgramFiles']
|
||||
defaults.prefix = pjoin(os.environ['ProgramFiles'], 'Cantera')
|
||||
defaults.boostIncDir = ''
|
||||
defaults.boostLibDir = ''
|
||||
env['INSTALL_MANPAGES'] = False
|
||||
else:
|
||||
print "Error: Unrecognized operating system '%s'" % os.name
|
||||
sys.exit(1)
|
||||
|
|
|
|||
|
|
@ -25,8 +25,9 @@ installTargets.extend(
|
|||
mglob(localenv, pjoin('templates','f77'), '*')))
|
||||
|
||||
# Copy man pages
|
||||
inst = localenv.Install('$inst_mandir', mglob(localenv, 'man', '*'))
|
||||
installTargets.extend(inst)
|
||||
if env['INSTALL_MANPAGES']:
|
||||
inst = localenv.Install('$inst_mandir', mglob(localenv, 'man', '*'))
|
||||
installTargets.extend(inst)
|
||||
|
||||
### Generate customized scripts ###
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue