Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Dec 30, 2018
1 parent 66b924a commit 242be97
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
PACKAGE := typepy
BUILD_DIR := build
DOCS_DIR := docs
DOCS_BUILD_DIR := _build
DOCS_BUILD_DIR := $(DOCS_DIR)/_build


.PHONY: build
build:
Expand All @@ -11,11 +12,11 @@ build:

.PHONY: clean
clean:
@rm -rf $(PACKAGE)-*.*.*/ $(BUILD_DIR)/ dist/ .eggs/ .pytest_cache/ .tox/ **/*/__pycache__/ *.egg-info/
@rm -rf $(PACKAGE)-*.*.*/ $(BUILD_DIR)/ $(DOCS_BUILD_DIR)/ dist/ .eggs/ .pytest_cache/ .tox/ **/*/__pycache__/ *.egg-info/

.PHONY: docs
docs:
@python setup.py build_sphinx --source-dir=$(DOCS_DIR)/ --build-dir=$(DOCS_DIR)/$(DOCS_BUILD_DIR) --all-files
@python setup.py build_sphinx --source-dir=$(DOCS_DIR)/ --build-dir=$(DOCS_BUILD_DIR) --all-files

.PHONY: fmt
fmt:
Expand Down

0 comments on commit 242be97

Please sign in to comment.