kbuild: fix make mrproper for Documentation/DocBook/man
authorSam Ravnborg <sam@neptun.ravnborg.org>
Fri, 13 Apr 2007 21:07:00 +0000 (23:07 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 2 May 2007 18:58:10 +0000 (20:58 +0200)
commite711db3edfe7c0e32b6430e7d041905f856aa79a
treecfdc462ea2f4769dd3119b8b80687e01dccc81bb
parent145c90475f809060c8601828f14543191e06a0bb
kbuild: fix make mrproper for Documentation/DocBook/man

"make mandocs" generate > 2000 files in Documentation/DocBook/man
and this caused kbuild to barf out during make mrproper like this:

make -f scripts/Makefile.clean obj=Documentation/DocBook
make -f scripts/Makefile.clean obj=Documentation/DocBook/man/
make[2]: execvp: /bin/sh: Argument list too long
make[2]: *** [__clean] Error 127
make[1]: *** [Documentation/DocBook/man/] Error 2
make: *** [_mrproper_Documentation/DocBook] Error 2

The man directory were solely used for output
so the fix is to remove it entirely during the
make mrproper process.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Documentation/DocBook/Makefile
Documentation/DocBook/man/Makefile [deleted file]