blob: de32e4390b467678e79952115f37779da882f7c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PYTHON ?= python
export PYTHONPATH = $(shell echo "$$PYTHONPATH"):./sphinx
.PHONY: all check clean clean-pyc pylint reindent testserver
all: clean-pyc check
check:
@$(PYTHON) utils/check_sources.py -i sphinx/style/jquery.js sphinx
@$(PYTHON) utils/check_sources.py converter
clean: clean-pyc
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
pylint:
@pylint --rcfile utils/pylintrc sphinx converter
reindent:
@$(PYTHON) utils/reindent.py -r -B .
testserver:
@$(PYTHON) djtest/manage.py runserver
|