Makefile: clean: remove __pycache__ directories
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
a6de848a23
commit
04932f18e4
4
Makefile
4
Makefile
@ -1,5 +1,4 @@
|
|||||||
# Copyright (C) 2002 - 2006 John Goerzen
|
# Copyright (C) 2002 - 2018 John Goerzen & contributors.
|
||||||
# <jgoerzen@complete.org>
|
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -36,6 +35,7 @@ clean:
|
|||||||
-find . -name '*.pygc' -exec rm -f {} \;
|
-find . -name '*.pygc' -exec rm -f {} \;
|
||||||
-find . -name '*.class' -exec rm -f {} \;
|
-find . -name '*.class' -exec rm -f {} \;
|
||||||
-find . -name '.cache*' -exec rm -f {} \;
|
-find . -name '.cache*' -exec rm -f {} \;
|
||||||
|
-find . -type d -name '__pycache__' -exec rm -rf {} \;
|
||||||
-rm -f manpage.links manpage.refs 2>/dev/null
|
-rm -f manpage.links manpage.refs 2>/dev/null
|
||||||
-find . -name auth -exec rm -vf {}/password {}/username \;
|
-find . -name auth -exec rm -vf {}/password {}/username \;
|
||||||
-$(MAKE) -C docs clean
|
-$(MAKE) -C docs clean
|
||||||
|
Loading…
Reference in New Issue
Block a user