File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 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
44HTTP_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.
78SPHINXOPTS =
@@ -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-
163162watch :
164163 if command -v entr > /dev/null; then ${WATCH_FILES} | entr -c $( MAKE) html; else $( MAKE) html; fi
165164
You can’t perform that action at this time.
0 commit comments