diff options
author | Fred Wright <fw@fwright.net> | 2016-03-27 01:10:01 -0700 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-03-27 04:45:09 -0400 |
commit | dcbdae82d3d38c3dd05d4717fa736ef805630619 (patch) | |
tree | 1af4f2b47c5fea489cbf1d3972541e0ac784c030 /SConstruct | |
parent | 8d7820fdc34eaa9296bac60d358d10e377f8ffab (diff) | |
download | gpsd-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-- | SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |