Skip to content
Newer
Older
100644 61 lines (44 sloc) 1.38 KB
32ca65f [svn r993] allow overriding python executable in Makefile by passing …
scoder authored Apr 25, 2006
1 PYTHON?=python
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored Jul 9, 2004
2 TESTFLAGS=-p -v
3 TESTOPTS=
4 SETUPFLAGS=
5
6 all: inplace
7
8 # Build in-place
9 inplace:
10 $(PYTHON) setup.py $(SETUPFLAGS) build_ext -i
11
12 build:
13 $(PYTHON) setup.py $(SETUPFLAGS) build
14
15 test_build: build
16 $(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
17
18 test_inplace: inplace
19 $(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
1a06da3 [svn r1424] also run ET selftests on make test
scoder authored Jun 6, 2006
20 PYTHONPATH=src $(PYTHON) selftest.py
21 PYTHONPATH=src $(PYTHON) selftest2.py
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored Jul 9, 2004
22
c36711d [svn r2105] target 'valtest' to run tests in valgrind
scoder authored Feb 16, 2007
23 valgrind_test_inplace: inplace
2a05a8a [svn r2879] longer stack traces from valgrind
scoder authored Sep 15, 2007
24 valgrind --tool=memcheck --leak-check=full --num-callers=30 --suppressions=valgrind-python.supp \
ddb7cbf [svn r2154] run valgrind tests without verbose test output
scoder authored Feb 25, 2007
25 $(PYTHON) test.py
c36711d [svn r2105] target 'valtest' to run tests in valgrind
scoder authored Feb 16, 2007
26
6413714 [svn r589] refactoring of benchmark setup, add 'bench' target to Make…
scoder authored Mar 7, 2006
27 bench_inplace: inplace
0414db0 [svn r602] use bench.py cmd line options
scoder authored Mar 8, 2006
28 $(PYTHON) bench.py -i
6413714 [svn r589] refactoring of benchmark setup, add 'bench' target to Make…
scoder authored Mar 7, 2006
29
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored Jul 9, 2004
30 ftest_build: build
31 $(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
32
33 ftest_inplace: inplace
34 $(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
35
1f7c9a9 [svn r2132] side menu for HTML pages
scoder authored Feb 23, 2007
36 html: inplace
7f09a63 [svn r1398] integrate publish.py from svn/lxml/www as doc/mkhtml.py, …
scoder authored Jun 4, 2006
37 mkdir -p doc/html
1f7c9a9 [svn r2132] side menu for HTML pages
scoder authored Feb 23, 2007
38 PYTHONPATH=src $(PYTHON) doc/mkhtml.py doc/html . `cat version.txt`
082a6e9 [svn r2787] delete API docs only when regenerating them
scoder authored Aug 30, 2007
39 rm -fr doc/html/api
8001da3 [svn r2675] do not print epydoc call in Makefile
scoder authored Jul 21, 2007
40 @[ -x "`which epydoc`" ] \
41 && (cd src && echo "Generating API docs ..." && \
d2f2e7c [svn r2827] docstring cleanup
scoder authored Sep 4, 2007
42 PYTHONPATH=. epydoc -v -o ../doc/html/api --name lxml --url http://codespeak.net/lxml/ lxml/) \
970fb0a [svn r2631] use epydoc (if available) to generate API docs
scoder authored Jul 12, 2007
43 || (echo "not generating epydoc API documentation")
7f09a63 [svn r1398] integrate publish.py from svn/lxml/www as doc/mkhtml.py, …
scoder authored Jun 4, 2006
44
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored Jul 9, 2004
45 # XXX What should the default be?
46 test: test_inplace
47
c36711d [svn r2105] target 'valtest' to run tests in valgrind
scoder authored Feb 16, 2007
48 valtest: valgrind_test_inplace
49
6413714 [svn r589] refactoring of benchmark setup, add 'bench' target to Make…
scoder authored Mar 7, 2006
50 bench: bench_inplace
51
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored Jul 9, 2004
52 ftest: ftest_inplace
53
54 clean:
1d4a3f0 [svn r2021] let 'make clean' also remove .pyd libraries under windows
scoder authored Oct 28, 2006
55 find . \( -name '*.o' -o -name '*.c' -o -name '*.so' -o -name '*.py[cod]' -o -name '*.dll' \) -exec rm -f {} \;
082a6e9 [svn r2787] delete API docs only when regenerating them
scoder authored Aug 30, 2007
56 rm -rf build
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored Jul 9, 2004
57
58 realclean: clean
59 rm -f TAGS
60 $(PYTHON) setup.py clean -a
Something went wrong with that request. Please try again.