Improved clean targets.
authorFlorian Pose <fp@igh-essen.com>
Mon, 06 Nov 2006 16:33:01 +0000
changeset 486 7313ed820882
parent 485 8354ddf38481
child 487 448b0b23b905
Improved clean targets.
Makefile.am
--- a/Makefile.am	Mon Nov 06 16:27:40 2006 +0000
+++ b/Makefile.am	Mon Nov 06 16:33:01 2006 +0000
@@ -50,6 +50,10 @@
 	$(MAKE) -C master modules_install
 	$(MAKE) -C devices modules_install
 
+clean-local:
+	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
+	@rm -f Modules.symvers
+
 mydist:
 	@SVNREV=`svnversion $(srcdir)` && \
 	  $(MAKE) dist-bzip2 \
@@ -60,7 +64,7 @@
 		svnversion $(srcdir) 2>/dev/null >$(distdir)/svnrevision; \
 	fi
 
-mrproper: clean
+mrproper: clean cleandoc
 	rm -rf \
 		aclocal.m4 \
 		autoconf \