From 9eb21b5b436a217d7534db51ee7916dacb25a64f Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@nicira.com>
Date: Wed, 23 Jul 2008 16:42:05 -0700
Subject: [PATCH] Fix kdist_clean target in debian/rules.

This fixes "module-assistant auto-install openflow-datapath" for
bootstrapping from a clean environment.  (Use "m-a -f purge
openflow-datapath" to test that it works starting from an un-clean
environment.)
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d7300e6fc..ecd706f81 100755
--- a/debian/rules
+++ b/debian/rules
@@ -70,7 +70,7 @@ endif
 
 kdist_clean:
 	dh_clean
-	make KERNELDIR=$(KSRC) KVERREL=$(KVERS) clean
+	rm -rf openflow
 
 kdist_config: prep-deb-files
 
-- 
2.47.0