[PATCH v2] kmod: Add distclean rule

Jan Kiszka
2009-05-15T16:16:33Z

Jan Kiszka wrote:
> --- a/Makefile
> +++ b/Makefile
> @@ -68,3 +68,6 @@ rpm: all
>
> clean:
> $(MAKE) -C $(KERNELDIR) M=`pwd` $@
> +
> +distclean:
> + rm -f config.kbuild config.mak

This one is "cleaner":

--------->

Remove the configure output config.kbuild and config.mak via distclean.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

Makefile | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index dad5f0b..a4c59c9 100644
--- a/Makefile
+++ b/Makefile
@@ -68,3 +68,6 @@ rpm: all

clean:
$(MAKE) -C $(KERNELDIR) M=`pwd` $@
+
+distclean: clean
+ rm -f config.kbuild config.mak