Created
October 13, 2011 01:44
-
-
Save torufurukawa/1283129 to your computer and use it in GitHub Desktop.
Sphinx で継続ビルドする Makefile の一部
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto: | |
@while :; do make html_silent; sleep 1; done | |
html_silent: .built | |
@echo > /dev/null | |
.built: *.rst img/* | |
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html | |
@touch .built | |
@echo | |
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment