[elbe-devel] [PATCH] debianize/kernel: fix clean rule

John Ogness john.ogness at linutronix.de
Wed Aug 17 02:30:00 CEST 2016


debian/tmp is a directory so -r is needed with rm.

Signed-off-by: John Ogness <john.ogness at linutronix.de>
---
 elbepack/makofiles/debianize/kernel/rules.mako | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elbepack/makofiles/debianize/kernel/rules.mako b/elbepack/makofiles/debianize/kernel/rules.mako
index 71de6f4..50d997a 100755
--- a/elbepack/makofiles/debianize/kernel/rules.mako
+++ b/elbepack/makofiles/debianize/kernel/rules.mako
@@ -22,7 +22,8 @@ O=debian/build
 
 override_dh_auto_clean:
 	mkdir -p debian/build
-	rm -f debian/files debian/tmp
+	rm -f debian/files
+	rm -rf debian/tmp
 	make $(MAKE_OPTS) clean
 
 override_dh_auto_configure:
-- 
2.8.1




More information about the elbe-devel mailing list