Conventionally, "make distclean" blows away autogenerated Makefiles and
configure output.  This is necessary to avoid confusion when using a
separate build directory:

$ ./configure
..
$ mkdir build; cd build; ./configure
..
configure: error: source directory already configured;
run "make distclean" there first

Signed-off-by: Alan Jenkins <[email protected]>

diff --git a/Makefile.am b/Makefile.am
index f30995b..80f90a2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -61,7 +61,7 @@ DOCBOOKTOMAN := $(shell if command -v docbook-to-man >/dev/null 
2>&1; then echo
        fi

# docbook2man creates extra crap files which need cleaning.
-distclean: killbuildmanpages
+distclean-local: killbuildmanpages

killbuildmanpages:
        rm -f doc/*.tmp manpage.refs manpage.links


--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to