[PATCH] Makefile: clean: remove completion/*/__pycache__

4 views
Skip to first unread message

Quirin Gylstorff

unread,
Aug 14, 2023, 10:41:19 AM8/14/23
to efibootg...@googlegroups.com, jan.k...@siemens.com
From: Quirin Gylstorff <quirin.g...@siemens.com>

This fixes Debian Bug#1044895: efibootguard: Fails to build source after
successful build.

Signed-off-by: Quirin Gylstorff <quirin.g...@siemens.com>
---
Makefile.am | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 59af226..f767096 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -352,6 +352,12 @@ all-local: bg_printenv bash-completion zsh-completion

CLEANFILES += bg_printenv $(BASH_COMPLETION_FILES) $(ZSH_COMPLETION_FILES)

+clean-local: clean-local-completion-pycache
+.PHONY: clean-local-completion-pycache
+clean-local-completion-pycache:
+ rm -rf $(top_builddir)/completion/bg_printenv/__pycache__
+ rm -rf $(top_builddir)/completion/bg_setenv/__pycache__
+
# Tests depend on libraries being built - start with "."
SUBDIRS = . tools/tests

--
2.40.1

Jan Kiszka

unread,
Aug 14, 2023, 11:29:02 AM8/14/23
to Quirin Gylstorff, efibootg...@googlegroups.com
Thanks, applied.

Jan

--
Siemens AG, Technology
Linux Expert Center

Reply all
Reply to author
Forward
0 new messages