From 04932f18e47ab1a8789fd24a554a966e45da309e Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Mon, 9 Apr 2018 00:30:03 +0200 Subject: [PATCH] Makefile: clean: remove __pycache__ directories Signed-off-by: Nicolas Sebrecht --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8778c7b..674a5ae 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -# Copyright (C) 2002 - 2006 John Goerzen -# +# Copyright (C) 2002 - 2018 John Goerzen & contributors. # # 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 @@ -36,6 +35,7 @@ clean: -find . -name '*.pygc' -exec rm -f {} \; -find . -name '*.class' -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 -find . -name auth -exec rm -vf {}/password {}/username \; -$(MAKE) -C docs clean