Do not install shell scripts if no clients are installed

This commit is contained in:
Radim Kolar 2019-08-24 09:31:59 +02:00
parent 1aae7ad94f
commit 07dd46b5ba
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
Version 2.8.1b29 - Not Released yet Version 2.8.1b29 - Not Released yet
added scons command line argument without-fspscan=yes for building added scons command line argument without-fspscan=yes for building
without fspscan without fspscan
do not install shell scripts if no clients are installed
Version 2.8.1b28 - 16 Aug 2019 Version 2.8.1b28 - 16 Aug 2019
Pull scons site Python 3 fixed from fsplib and fspclient projects Pull scons site Python 3 fixed from fsplib and fspclient projects
More scons with python 3 build fixes More scons with python 3 build fixes

View File

@ -1,11 +1,13 @@
Import(Split("env PREFIX DOCDIR")) Import(Split("env PREFIX DOCDIR CLIENTS"))
env.Install(dir=DOCDIR,source=Split("""BETA.README COPYRIGHT ChangeLog env.Install(dir=DOCDIR,source=Split("""BETA.README COPYRIGHT ChangeLog
FILES INFO INSTALL MACHINES TODO FILES INFO INSTALL MACHINES TODO
""")) """))
EXAMPLESDIR=PREFIX+'/share/examples/fsp' EXAMPLESDIR=PREFIX+'/share/examples/fsp'
env.Install(dir=EXAMPLESDIR,source=Split("setup.sh setup.csh fspd.conf")) env.Install(dir=EXAMPLESDIR,source="fspd.conf")
if CLIENTS:
env.Install(dir=EXAMPLESDIR,source=Split("setup.sh setup.csh"))
env.Alias("install", EXAMPLESDIR) env.Alias("install", EXAMPLESDIR)
# *************** Targets **************** # *************** Targets ****************