public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch] kbuild: fix a build error during make htmldocs
@ 2009-06-19  7:06 Amerigo Wang
  2009-06-20 11:32 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Amerigo Wang @ 2009-06-19  7:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: randy.dunlap, akpm, sam, Amerigo Wang, jirislaby


Fix the following build error when do 'make htmldocs':

 DOCPROC Documentation/DocBook/debugobjects.xml
exec /scripts/kernel-doc: No such file or directory
exec /scripts/kernel-doc: No such file or directory

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Sam <sam@ravnborg.org>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>

---
diff --git a/scripts/basic/docproc.c b/scripts/basic/docproc.c
index 4c9523e..99ca7a6 100644
--- a/scripts/basic/docproc.c
+++ b/scripts/basic/docproc.c
@@ -385,7 +385,7 @@ int main(int argc, char *argv[])
 	if (!srctree)
 		srctree = getcwd(NULL, 0);
 	kernsrctree = getenv("KBUILD_SRC");
-	if (!kernsrctree)
+	if (!kernsrctree || !*kernsrctree)
 		kernsrctree = srctree;
 	if (argc != 3) {
 		usage();

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch] kbuild: fix a build error during make htmldocs
  2009-06-19  7:06 [Patch] kbuild: fix a build error during make htmldocs Amerigo Wang
@ 2009-06-20 11:32 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2009-06-20 11:32 UTC (permalink / raw)
  To: Amerigo Wang; +Cc: linux-kernel, randy.dunlap, akpm, jirislaby

On Fri, Jun 19, 2009 at 03:06:54AM -0400, Amerigo Wang wrote:
> 
> Fix the following build error when do 'make htmldocs':
> 
>  DOCPROC Documentation/DocBook/debugobjects.xml
> exec /scripts/kernel-doc: No such file or directory
> exec /scripts/kernel-doc: No such file or directory
> 
> Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
> Signed-off-by: WANG Cong <amwang@redhat.com>
> Cc: Sam <sam@ravnborg.org>
> Acked-by: Randy Dunlap <randy.dunlap@oracle.com>

Applied, thanks Wang.

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-20 11:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19  7:06 [Patch] kbuild: fix a build error during make htmldocs Amerigo Wang
2009-06-20 11:32 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox