From 7ff77daf8cafd4c8cd52fbd4c218bbcb11f1d1bf Mon Sep 17 00:00:00 2001
From: Edward Brash <brash@jlab.org>
Date: Tue, 12 Nov 2013 12:04:23 -0500
Subject: [PATCH] Update SCons compilation instructions in README.md, and
 improve 'scons -c' procedure.

---
 README.md         | 10 +++++++---
 src/SConscript.py |  3 +++
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 3ce6c35..3fc9656 100644
--- a/README.md
+++ b/README.md
@@ -35,11 +35,15 @@ depending on whether your shell is bash or csh.
     make
 
 ### Compiling with scons
-    python ./podd/scons/scons.py
+    scons
+
+### Additional SCons features 
 To do the equivalent of "make clean", do
-`python ./podd/scons/scons.py -c`
+`scons -c`
+To compile with debug capabilities, do
+`scons debug=1`
 To compile the standalone codes the are part of podd, do
-`python ./podd/scons/scons.py standalone=1`
+`scons standalone=1`
 
 Running
 -------
diff --git a/src/SConscript.py b/src/SConscript.py
index 3d6070d..5cd9253 100644
--- a/src/SConscript.py
+++ b/src/SConscript.py
@@ -46,6 +46,9 @@ try:
 except:
 	print " Continuing ... "
 
+Clean(srclib,cleantarget)
+Clean(srclib,localmajorcleantarget)
+
 #baseenv.Install('../',srclib)
 #baseenv.Alias('install',['../'])
 
-- 
GitLab