summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2015-07-31 17:15:46 -0400
committerAric Gardner <agardner@linuxfoundation.org>2015-07-31 18:04:51 -0400
commitdc39ffbc451ea8bc4deb46049d11e764d1e5d7dd (patch)
tree385fff02024d6ed739e98cc6f4df3c6a4c33d700 /Makefile
parentf95e8d34d7482a3ac20e20cb589ab96db1879715 (diff)
Adding make file and new conf.py for Documentation generation
Change-Id: I9ad2e1ff90811613b92e88444db9ca962257d76b Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 884c0fe..8b2eba7 100644
--- a/Makefile
+++ b/Makefile
@@ -12,15 +12,9 @@ bps: $(DESIGN_DOCS) | $(BUILDDIR)
mkdir -p $(BUILDDIR)/design_docs
$(foreach f,$(DESIGN_DOCS),rst2html.py $(f) $(BUILDDIR)/$(f:.rst=.html);)
-html: | $(BUILDDIR)
- sphinx-build -b html -c etc -d $(BUILDDIR)/doctrees \
- requirements $(BUILDDIR)/requirements/html
-
-pdf: | $(BUILDDIR)
- sphinx-build -b latex -c etc -d $(BUILDDIR)/doctrees \
- requirements $(BUILDDIR)/requirements/latex
- $(MAKE) -C $(BUILDDIR)/requirements/latex \
- LATEXOPTS='--interaction=nonstopmode' all-pdf
+bps: $(DESIGN_DOCS) | $(BUILDDIR)
+ mkdir -p $(BUILDDIR)/design_docs
+ $(foreach f,$(DESIGN_DOCS),rst2html.py $(f) $(BUILDDIR)/$(f:.rst=.pdf);)
$(BUILDDIR):
mkdir -p $(BUILDDIR)