From f91a6ea6e929b10969f7ce405ac2e409afd8a39a Mon Sep 17 00:00:00 2001 From: Ole Hansen Date: Thu, 5 Oct 2017 13:34:53 -0400 Subject: [PATCH] Let SCons also clean ROOT 6's *_rdict.pcm class layout cache files --- SConscript.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SConscript.py b/SConscript.py index 90515f35..200fb9be 100644 --- a/SConscript.py +++ b/SConscript.py @@ -30,6 +30,7 @@ hana_decode/THaBenchmark.h hana_decode/haDecode_LinkDef.h """) baseenv.RootCint(rootdecdict,decheaders) +baseenv.Clean(rootdecdict,re.sub(r'\.C\Z','_rdict.pcm',rootdecdict)) roothadict = baseenv.subst('$MAIN_DIR')+'/haDict.C' haheaders = Split(""" @@ -69,6 +70,7 @@ src/HallA_LinkDef.h """) baseenv.RootCint(roothadict,haheaders) +baseenv.Clean(roothadict,re.sub(r'\.C\Z','_rdict.pcm',roothadict)) ####### write src/ha_compiledata.h header file ######