diff options
author | Amerigo Wang <amwang@redhat.com> | 2009-06-19 03:06:54 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-06-20 07:31:28 -0400 |
commit | b767b9059fa75a353c9ad6e320ae080fbe15a951 (patch) | |
tree | 1a4efe90f17c25432e6c13da7260575eeff7b51e /scripts/basic/docproc.c | |
parent | fb20871a54961b82d35303b43452928186c1361d (diff) |
kbuild: fix build error during make htmldocs
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>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/basic/docproc.c')
-rw-r--r-- | scripts/basic/docproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/basic/docproc.c b/scripts/basic/docproc.c index 4c9523ef9c00..99ca7a698687 100644 --- a/scripts/basic/docproc.c +++ b/scripts/basic/docproc.c | |||
@@ -385,7 +385,7 @@ int main(int argc, char *argv[]) | |||
385 | if (!srctree) | 385 | if (!srctree) |
386 | srctree = getcwd(NULL, 0); | 386 | srctree = getcwd(NULL, 0); |
387 | kernsrctree = getenv("KBUILD_SRC"); | 387 | kernsrctree = getenv("KBUILD_SRC"); |
388 | if (!kernsrctree) | 388 | if (!kernsrctree || !*kernsrctree) |
389 | kernsrctree = srctree; | 389 | kernsrctree = srctree; |
390 | if (argc != 3) { | 390 | if (argc != 3) { |
391 | usage(); | 391 | usage(); |