Skip to content

Commit

Permalink
make docs: Use build/docs folder (#2894)
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy Reed committed Jan 7, 2017
1 parent 0e9733f commit c241417
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -32,7 +32,6 @@ endif
PATH_SET := PATH="$(DEPS_DIR)/bin:/usr/local/bin:$(PATH)"
CMAKE := $(PATH_SET) CXXFLAGS="-L$(DEPS_DIR)/lib" cmake ../../
CTEST := $(PATH_SET) ctest ../../
DOCS_CMAKE := $(PATH_SET) CXXFLAGS="-L$(DEPS_DIR)/lib" cmake ../
FORMAT_COMMAND := python tools/formatting/git-clang-format.py \
"--commit" "master" "-f" "--style=file"

Expand All @@ -55,7 +54,8 @@ endif
$(DEFINES) $(MAKE) --no-print-directory $(MAKEFLAGS)

docs: .setup
@cd build && DOCS=True $(DOCS_CMAKE) && \
@mkdir -p docs
@cd build/docs && DOCS=True $(CMAKE) && \
$(DEFINES) $(MAKE) docs --no-print-directory $(MAKEFLAGS)

format_master:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
Jinja2
Jinja2==2.8
argparse
thrift

Expand Down

0 comments on commit c241417

Please sign in to comment.