mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-20 19:36:19 +08:00
[build] remove *.pyc files on clean
This commit is contained in:
@@ -273,6 +273,7 @@ clean:
|
||||
$(Q)find . -mindepth 2 -name Makefile -a ! -path "./sw/ext/*" -exec sh -c 'echo "Cleaning {}"; $(MAKE) -C `dirname {}` $@' \;
|
||||
$(Q)$(MAKE) -C $(EXT) clean
|
||||
$(Q)find . -name '*~' -exec rm -f {} \;
|
||||
$(Q)find . -name '*.pyc' -exec rm -f {} \;
|
||||
|
||||
cleanspaces:
|
||||
find sw -path sw/ext -prune -o -name '*.[ch]' -exec sed -i {} -e 's/[ \t]*$$//' \;
|
||||
|
||||
Reference in New Issue
Block a user