summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2016-03-27 01:10:01 -0700
committerEric S. Raymond <esr@thyrsus.com>2016-03-27 04:45:09 -0400
commitdcbdae82d3d38c3dd05d4717fa736ef805630619 (patch)
tree1af4f2b47c5fea489cbf1d3972541e0ac784c030 /SConstruct
parent8d7820fdc34eaa9296bac60d358d10e377f8ffab (diff)
downloadgpsd-dcbdae82d3d38c3dd05d4717fa736ef805630619.tar.gz
Adds Python 3 .pyc cache directory to clean list.
TESTED: Verified that "scons -c" now removes all of gps/__pycache__.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 7d083584..4877bbfd 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2021,7 +2021,8 @@ clean_misc = env.Alias('clean-misc')
# Since manpage targets are disabled in clean mode, we cover them here
env.Clean(clean_misc, all_manpages)
# Clean compiled Python
-env.Clean(clean_misc, glob.glob('*.pyc') + glob.glob('gps/*.pyc'))
+env.Clean(clean_misc,
+ glob.glob('*.pyc') + glob.glob('gps/*.pyc') + ['gps/__pycache__'])
# Clean coverage and profiling files
env.Clean(clean_misc, glob.glob('*.gcno') + glob.glob('*.gcda'))
# Clean Python coverage files