Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (39 sloc) 1.144 kb
32ca65f [svn r993] allow overriding python executable in Makefile by passing PYT...
scoder authored
1 PYTHON?=python
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored
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
20 PYTHONPATH=src $(PYTHON) selftest.py
21 PYTHONPATH=src $(PYTHON) selftest2.py
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored
22
c36711d [svn r2105] target 'valtest' to run tests in valgrind
scoder authored
23 valgrind_test_inplace: inplace
24 valgrind --tool=memcheck --leak-check=full --suppressions=valgrind-python.supp \
25 $(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
26
6413714 [svn r589] refactoring of benchmark setup, add 'bench' target to Makefil...
scoder authored
27 bench_inplace: inplace
0414db0 [svn r602] use bench.py cmd line options
scoder authored
28 $(PYTHON) bench.py -i
6413714 [svn r589] refactoring of benchmark setup, add 'bench' target to Makefil...
scoder authored
29
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored
30 ftest_build: build
31 $(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
32
33 ftest_inplace: inplace
34 $(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
35
7f09a63 [svn r1398] integrate publish.py from svn/lxml/www as doc/mkhtml.py, new...
scoder authored
36 html:
37 mkdir -p doc/html
38 $(PYTHON) doc/mkhtml.py doc/html . `cat version.txt`
39
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored
40 # XXX What should the default be?
41 test: test_inplace
42
c36711d [svn r2105] target 'valtest' to run tests in valgrind
scoder authored
43 valtest: valgrind_test_inplace
44
6413714 [svn r589] refactoring of benchmark setup, add 'bench' target to Makefil...
scoder authored
45 bench: bench_inplace
46
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored
47 ftest: ftest_inplace
48
49 clean:
1d4a3f0 [svn r2021] let 'make clean' also remove .pyd libraries under windows
scoder authored
50 find . \( -name '*.o' -o -name '*.c' -o -name '*.so' -o -name '*.py[cod]' -o -name '*.dll' \) -exec rm -f {} \;
1f3da5b [svn r1] Initial import of lxml into subversion.
faassen authored
51 rm -rf build
52
53 realclean: clean
54 rm -f TAGS
55 $(PYTHON) setup.py clean -a
Something went wrong with that request. Please try again.