summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2007-07-23 09:02:25 +0000
committergeorg.brandl <devnull@localhost>2007-07-23 09:02:25 +0000
commite3849b67f258a091ff65c3be7c3f8e51f9887466 (patch)
treeeccdde90eb4474e1fab81461048de618c4fc6b80 /Makefile
parent0ba2909ce4bfd561a9054b927e984cbdfaa4161d (diff)
downloadsphinx-e3849b67f258a091ff65c3be7c3f8e51f9887466.tar.gz
Initial import of the doc tools.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..f1f52a87
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
+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 .