Skip to content

Commit 2cfea9c

Browse files
committed
docs: Makefile styling updates
1 parent 51f8808 commit 2cfea9c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Makefile for Sphinx documentation
22
#
3-
PYVERSION=$(shell python -c "import sys;v=sys.version_info[0];sys.stdout.write(str(v))")
3+
SHELL := /bin/bash
44
HTTP_PORT = 8022
5+
WATCH_FILES= find .. -type f -not -path '*/\.*' | grep -i '.*[.]\(rst\|md\)\$\|.*[.]py\$\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
56

67
# You can set these variables from the command line.
78
SPHINXOPTS =
@@ -158,8 +159,6 @@ checkbuild:
158159
rm -rf $(BUILDDIR)
159160
$(SPHINXBUILD) -n -q ./ $(BUILDDIR)
160161

161-
WATCH_FILES= find .. -type f -not -path '*/\.*' | grep -i '.*[.]rst\$\|.*[.]md\$\|.*[.]py\$\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
162-
163162
watch:
164163
if command -v entr > /dev/null; then ${WATCH_FILES} | entr -c $(MAKE) html; else $(MAKE) html; fi
165164

0 commit comments

Comments
 (0)