Skip to content

Commit

Permalink
cleanup makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Banduhn committed Dec 6, 2015
1 parent a96d325 commit 66046e3
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: tests coverage coverage-html clean
.PHONY: tests coverage coverage-html devinstall docs clean
APP=.
COV=howl
OPTS=-vs
Expand All @@ -7,6 +7,8 @@ help:
@echo "tests - run tests"
@echo "coverage - run tests with coverage enabled"
@echo "coverage-html - run tests with coverage html export enabled"
@echo "devinstall - install all packages required for development"
@echo "docs - generate Sphinx HTML documentation, including API docs"
@echo "clean - Clean build related files"


Expand All @@ -27,16 +29,12 @@ devinstall:
pip install -e .[tests]
pip install -e .[docs]

docs: clean-build
pip install -e .
pip install -e [docs]
sphinx-apidoc --force -o docs/source/modules/ howl howl/tests/
$(MAKE) -C docs clean
docs: clean
$(MAKE) -C docs html

clean-build:
@rm -fr build/
@rm -fr dist/
@rm -fr *.egg-info src/*.egg-info
@rm -fr htmlcov/
clean:
rm -fr build/
rm -fr dist/
rm -fr *.egg-info
rm -fr htmlcov/
$(MAKE) -C docs clean

0 comments on commit 66046e3

Please sign in to comment.