doc: fix docs target

The top make file has a documentation target that does not work.
Change it to work with our documentation and scripts.

Change-Id: Id32643900d122f54778e3179930f2e8e34387aa1
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-07-30 07:06:40 -04:00
commit 486a2a1034
2 changed files with 3 additions and 3 deletions

View file

@ -1084,9 +1084,8 @@ $(help-board-dirs): help-%:
# Documentation targets
# ---------------------------------------------------------------------------
%docs: scripts_basic FORCE
$(Q)$(MAKE) $(build)=scripts build_docproc
$(Q)$(MAKE) $(build)=Documentation/DocBook $@
%docs: FORCE
$(Q)$(MAKE) -C doc htmldocs
clean: $(clean-dirs)
$(call cmd,rmdirs)

View file

@ -57,6 +57,7 @@ help:
clean:
rm -rf $(BUILDDIR)/*
htmldocs: doxy html
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo