Skip to content

Instantly share code, notes, and snippets.

@torufurukawa
Created October 13, 2011 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torufurukawa/1283129 to your computer and use it in GitHub Desktop.
Save torufurukawa/1283129 to your computer and use it in GitHub Desktop.
Sphinx で継続ビルドする Makefile の一部
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