Skip to content

Commit

Permalink
Optimize Makefile to allow to build docs from repo root with logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed Oct 31, 2016
1 parent 9627a59 commit adaba09
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ check-tox:
tox

.PHONY: check-docs
check-docs: docs
$(MAKE) -C "$<" html > /dev/null
check-docs:
$(MAKE) "docs" > /dev/null

.PHONY: check-lint
check-lint: check-flake8 check-pylint check-travis.yml
Expand Down Expand Up @@ -139,6 +139,10 @@ distclean: clean
build: setup.py
"./$<" bdist_wheel sdist

.PHONY: docs
docs:
$(MAKE) -C "docs" html

.PHONY: release-versionbump
release-versionbump: yaml4rst/_meta.py CHANGES.rst
editor $?
Expand Down

0 comments on commit adaba09

Please sign in to comment.