mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x ........ r65566 | georg.brandl | 2008-08-07 09:11:11 +0000 (Thu, 07 Aug 2008) | 2 lines Clarification for the ref role. ........ r65567 | georg.brandl | 2008-08-07 09:11:25 +0000 (Thu, 07 Aug 2008) | 2 lines Rebuild everything if extensions change. ........ r65623 | georg.brandl | 2008-08-10 11:18:42 +0000 (Sun, 10 Aug 2008) | 2 lines Unify handling of LaTeX escaping, and add some more replacements. ........ r65625 | georg.brandl | 2008-08-10 11:25:41 +0000 (Sun, 10 Aug 2008) | 2 lines Make tex escapes a module. ........
31 lines
670 B
Makefile
31 lines
670 B
Makefile
PYTHON ?= python
|
|
|
|
export PYTHONPATH = $(shell echo "$$PYTHONPATH"):./sphinx
|
|
|
|
.PHONY: all check clean clean-pyc clean-patchfiles pylint reindent test
|
|
|
|
all: clean-pyc check test
|
|
|
|
check:
|
|
@$(PYTHON) utils/check_sources.py -i sphinx/style/jquery.js sphinx
|
|
|
|
clean: clean-pyc clean-patchfiles
|
|
|
|
clean-pyc:
|
|
find . -name '*.pyc' -exec rm -f {} +
|
|
find . -name '*.pyo' -exec rm -f {} +
|
|
find . -name '*~' -exec rm -f {} +
|
|
|
|
clean-patchfiles:
|
|
find . -name '*.orig' -exec rm -f {} +
|
|
find . -name '*.rej' -exec rm -f {} +
|
|
|
|
pylint:
|
|
@pylint --rcfile utils/pylintrc sphinx
|
|
|
|
reindent:
|
|
@$(PYTHON) utils/reindent.py -r -B .
|
|
|
|
test:
|
|
@cd tests; $(PYTHON) run.py -d -m '^[tT]est' $(TEST)
|