Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Fixes #53
Fixes #55
Fixes #56
Fixes #57
  • Loading branch information
reedy authored Aug 17, 2020
1 parent 0f54760 commit 24abcf9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = python3 -msphinx
SOURCEDIR = .
BUILDDIR = _build
SPHINXOPTS ?=
SPHINXBUILD ?= python3 -msphinx
SPHINXAUTOBUILD ?= sphinx-autobuild
SPHINXAUTOOPTS ?= -H 0.0.0.0
SOURCEDIR ?= .
BUILDDIR ?= _build

# Put it first so that "make" without argument is like "make help".
help:
Expand All @@ -20,8 +22,8 @@ help:

.PHONY: clean-auto
clean-auto:
rm -rf _build/*
rm -rf "$(BUILDDIR)"/*

.PHONY: auto
auto:
sphinx-autobuild . _build -H 0.0.0.0
@$(SPHINXAUTOBUILD) "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXAUTOOPTS)

0 comments on commit 24abcf9

Please sign in to comment.