All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Makefile: Fix make clean with DocBook
@ 2018-07-26  7:24 Jagan Teki
  0 siblings, 0 replies; only message in thread
From: Jagan Teki @ 2018-07-26  7:24 UTC (permalink / raw)
  To: u-boot

doc/DocBook has removed in below commit
"doc: Replace DocBook with sphinx-based docs"
(sha1: 78a88f7930becb78afef09c1237a8e4edc1b01e1)

and missed to remove it from clean-dirs, otherwise
'make clean' shows an error as below.

$ make clean
scripts/Makefile.clean:15: doc/DocBook/Makefile: No such file or directory
make[1]: *** No rule to make target 'doc/DocBook/Makefile'.  Stop.
Makefile:1610: recipe for target '_clean_doc/DocBook' failed
make: *** [_clean_doc/DocBook] Error 2

Cc: Mario Six <mario.six@gdsys.cc>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index d1246e063f..5224c34c96 100644
--- a/Makefile
+++ b/Makefile
@@ -1603,7 +1603,7 @@ clean: rm-files := $(CLEAN_FILES)
 
 clean-dirs	:= $(foreach f,$(u-boot-alldirs),$(if $(wildcard $(srctree)/$f/Makefile),$f))
 
-clean-dirs      := $(addprefix _clean_, $(clean-dirs) doc/DocBook)
+clean-dirs      := $(addprefix _clean_, $(clean-dirs))
 
 PHONY += $(clean-dirs) clean archclean
 $(clean-dirs):
@@ -1685,7 +1685,6 @@ help:
 	@echo  '  coccicheck      - Execute static code analysis with Coccinelle'
 	@echo  ''
 	@echo  'Documentation targets:'
-	@$(MAKE) -f $(srctree)/doc/DocBook/Makefile dochelp
 	@echo  ''
 	@echo  '  make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
 	@echo  '  make V=2   [targets] 2 => give reason for rebuild of target'
-- 
2.17.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-26  7:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-26  7:24 [U-Boot] [PATCH] Makefile: Fix make clean with DocBook Jagan Teki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.