Skip to content

Commit 409794a

Browse files
committed
sphinx: update docs when python files updated
1 parent dd21558 commit 409794a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Makefile for Sphinx documentation
2-
#
2+
WATCH_FILES= find .. -type f -not -path '*/\.*' | grep -i '.*[.]rst\|CHANGES\|TODO\|.*conf\.py\|.*[.]py$$' 2> /dev/null
33
PYVERSION=$(shell python -c "import sys;v=sys.version_info[0];sys.stdout.write(str(v))")
44
HTTP_PORT = 8023
55

@@ -158,8 +158,6 @@ checkbuild:
158158
rm -rf $(BUILDDIR)
159159
$(SPHINXBUILD) -n -q ./ $(BUILDDIR)
160160

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

0 commit comments

Comments
 (0)