Commit 72882439 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Linus Torvalds

[PATCH] docbook: *docs targets fixed, clean ok for html

Made the *docs targets work after the restructuring of the kbuild files.

Fix cleaning up after make htmldocs, there are some directories
that needs to be deleted in that case.
parent 956ee799
......@@ -160,8 +160,6 @@ clean-files := $(DOCBOOKS) \
$(patsubst %.fig,%.png, $(IMG-parportbook)) \
$(C-procfs-example)
ifneq ($(wildcard $(BOOKS)),)
clean-rule := rm -rf $(wildcard $(BOOKS))
ifneq ($(wildcard $(patsubst %.html,%,$(HTML))),)
clean-rule := rm -rf $(wildcard $(patsubst %.html,%,$(HTML)))
endif
include $(TOPDIR)/Rules.make
......@@ -799,7 +799,7 @@ help:
# Documentation targets
# ---------------------------------------------------------------------------
sgmldocs psdocs pdfdocs htmldocs: scripts
$(Q)$(MAKE) -f Documentation/DocBook/Makefile $@
$(Q)$(MAKE) -f scripts/Makefile.build obj=Documentation/DocBook $@
# Scripts to check various things for consistency
# ---------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment