summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2009-01-04 15:26:47 +0100
committergbrandl <devnull@localhost>2009-01-04 15:26:47 +0100
commit778e736ce9d0b19632cf2f18e216b12e2001d390 (patch)
tree9ff4148fe0dbd44cc8843547b76f155dc8440c1d /Makefile
parent283da4a0c3beac704d79530d1517021831894739 (diff)
downloadpygments-778e736ce9d0b19632cf2f18e216b12e2001d390.tar.gz
Update copyrighting style to standard "team" tags.
Update AUTHORS file accordingly.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 3 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 85a7ea9b..4f3b9c3e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,21 +4,19 @@
#
# Combines scripts for common tasks.
#
-# :copyright: 2006-2007 by Georg Brandl.
-# :license: GNU GPL, see LICENSE for more details.
+# :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+# :license: BSD, see LICENSE for details.
#
PYTHON ?= python
export PYTHONPATH = $(shell echo "$$PYTHONPATH"):$(shell python -c 'import os; print ":".join(os.path.abspath(line.strip()) for line in file("PYTHONPATH"))' 2>/dev/null)
-.PHONY: all apidocs check clean clean-pyc codetags docs epydoc mapfiles \
+.PHONY: all check clean clean-pyc codetags docs mapfiles \
pylint reindent test test-coverage
all: clean-pyc check test
-apidocs: epydoc
-
check:
@$(PYTHON) scripts/detect_missing_analyse_text.py
@$(PYTHON) scripts/check_sources.py -i apidocs -i pygments/lexers/_mapping.py \
@@ -44,20 +42,6 @@ docs/build: docs/src/*.txt
$(PYTHON) docs/generate.py html docs/build $?
touch docs/build
-epydoc:
- @rm -rf apidocs
- @$(PYTHON) -Wi:default_transform `which epydoc` -o apidocs --css scripts/epydoc.css \
- --url http://trac.pocoo.org/pygments --no-frames --docformat restructuredtext \
- -v pygments
- @sed -i -e 's|^<br />||' \
- -e 's|\s\+$$||' \
- -e 's|^\s\+</pre>|</pre>|' \
- -e 's|\(<table class="[^"]*"\) border="1"|\1|' \
- -e 's|\(<table class="navbar" .*\) width="100%"|\1|' \
- -e 's|<td width="15%"|<td class="spacer"|' \
- apidocs/*.html
- @$(PYTHON) scripts/fix_epydoc_markup.py apidocs
-
mapfiles:
(cd pygments/lexers; $(PYTHON) _mapping.py)
(cd pygments/formatters; $(PYTHON) _mapping.py)