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 1
1
# Makefile for Sphinx documentation
2
2
#
3
- PYVERSION = $( shell python -c "import sys;v=sys.version_info[0];sys.stdout.write(str(v) )")
3
+ SHELL := /bin/bash
4
4
HTTP_PORT = 8022
5
+ WATCH_FILES = find .. -type f -not -path '*/\.*' | grep -i '.*[.]\(rst\|md\)\$\|.*[.]py\$\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
5
6
6
7
# You can set these variables from the command line.
7
8
SPHINXOPTS =
@@ -158,8 +159,6 @@ checkbuild:
158
159
rm -rf $(BUILDDIR )
159
160
$(SPHINXBUILD ) -n -q ./ $(BUILDDIR )
160
161
161
- WATCH_FILES = find .. -type f -not -path '*/\.*' | grep -i '.*[.]rst\$\|.*[.]md\$\|.*[.]py\$\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
162
-
163
162
watch :
164
163
if command -v entr > /dev/null; then ${WATCH_FILES} | entr -c $( MAKE) html; else $( MAKE) html; fi
165
164
You can’t perform that action at this time.
0 commit comments