From 2ee3edbe3953b6690ceca7c750e62e5f63eaf1d1 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 29 May 2014 18:34:49 +0000 Subject: [PATCH] [SCons] Move man pages to 'share' This fixes compatibility with Homebrew. With the default prefix '/usr/local', this puts the man pages in /usr/local/share/man/man1/, which is usually on the man path on other OSes as well. --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 81c85db0e..385cc473e 100644 --- a/SConstruct +++ b/SConstruct @@ -1075,7 +1075,7 @@ if env['layout'] == 'compact': else: env['ct_datadir'] = pjoin(env['prefix'], 'share', 'cantera', 'data') env['ct_sampledir'] = pjoin(env['prefix'], 'share', 'cantera', 'samples') - env['ct_mandir'] = pjoin(env['prefix'], 'man', 'man1') + env['ct_mandir'] = pjoin(env['prefix'], 'share', 'man', 'man1') env['ct_matlab_dir'] = pjoin(env['prefix'], 'lib', 'cantera', 'matlab', 'toolbox') # Always set the stage directory before building an MSI installer @@ -1148,7 +1148,7 @@ else: env['inst_datadir'] = pjoin(instRoot, 'share', 'cantera', 'data') env['inst_sampledir'] = pjoin(instRoot, 'share', 'cantera', 'samples') env['inst_docdir'] = pjoin(instRoot, 'share', 'cantera', 'doc') - env['inst_mandir'] = pjoin(instRoot, 'man', 'man1') + env['inst_mandir'] = pjoin(instRoot, 'share', 'man', 'man1') # ************************************** # *** Set options needed in config.h ***