Skip to contentSkip to conversation

Makefile: Fix 'clean' target

PATCH New Tom Rini 1 participant 2 messages Jul 25, 2018 – Jul 26, 2018 Kbuild

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Makefile: Fix 'clean' target

Now that we have removed the DocBook files we need to not try and clean that directory.

Fixes 78a88f7930be ("doc: Replace DocBook with sphinx-based docs")
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
index d1246e063f85..79cbad22db82 100644
@@ -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,7 @@ help:
 	@echo  '  coccicheck      - Execute static code analysis with Coccinelle'
 	@echo  ''
 	@echo  'Documentation targets:'
-	@$(MAKE) -f $(srctree)/doc/DocBook/Makefile dochelp
+	@$(MAKE) -f $(srctree)/Documentation/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'
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/1 Makefile: Fix 'clean' target

Quoted 6 lines · Tom Rini

Now that we have removed the DocBook files we need to not try and clean that directory.

Fixes 78a88f7930be ("doc: Replace DocBook with sphinx-based docs")

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180726/3a7c5e72/attachment.sig>