2 SRCS := $(PN)/*.py test/*.py
4 # Sphinx tries to keep track of which docs need to be built on its
5 # own. We could do better, but we would have to duplicate all of the
6 # information that we already gave Sphinx to make it work.
13 cd doc && $(MAKE) doctest
17 PYTHONPATH="." test/__main__.py
22 while [ $$? -eq 0 ]; do \
23 COUNT=`expr $$COUNT + 1`; \
25 PYTHONPATH="." test/__main__.py; \
30 pylint --rcfile=./.pylintrc $(SRCS)
34 rm -rf $(PN)/__pycache__ test/__pycache__ doc/build