From 5e891f9f6544d4e6dbce99df55cd3b844746009d Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Thu, 15 Aug 2019 12:05:51 -0400 Subject: [PATCH] reworking scons file for pedi insanity --- SConscript | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/SConscript b/SConscript index a157816..ded65c9 100644 --- a/SConscript +++ b/SConscript @@ -57,12 +57,13 @@ lib=myenv.SharedLibrary("unpin", Split(files)) install=myenv.Install("$ZIPR_INSTALL/plugins/", lib) Default(install) -pedi = Command( target = "./testoutput", - source = "./SConscript", - action = "cd "+os.environ['ZIPR_INSTALL']+" ; " +os.environ['PEDI_HOME']+"/pedi -m manifest.txt ; cd -" ) -Default( pedi ) - +ret=[install,lib] +pedi = Command( target = "./unpin-testoutput", + source = install, + action = "cd "+os.environ['ZIPR_INSTALL']+" ; " +os.environ['PEDI_HOME']+"/pedi -m manifest.txt ; cd -" ) -ret=pedi+lib +if Dir('.').abspath == Dir('#.').abspath: + ret=ret+pedi +Default( ret ) Return('ret') -- GitLab