test/test-standalone.py: Test API guarantee that integer types subclass int or long
[dbus-python-phuang.git] / Makefile
blob44a188b792e389134e513d87253974755e4edac2
1 #!/usr/bin/make -f
2 # Convenience Makefile.
4 PYTHON ?= python
5 EPYDOC ?= epydoc
7 default:
8 rm -rf build/lib.*/*.so build/temp.*
9 $(PYTHON) setup.py build
11 # This assumes you've only built for one architecture.
12 docs:
13 $(PYTHON) setup.py build
14 cd $(shell echo build/lib.*) && PYTHONPATH=. \
15 $(EPYDOC) -o ../epydoc --html --docformat restructuredtext -v \
16 dbus _dbus_bindings _dbus_glib_bindings
18 cross-test-compile:
19 $(PYTHON) setup.py build
21 cross-test-server:
22 cd $(shell echo build/lib.*) && PYTHONPATH=. \
23 PYTHONUNBUFFERED=1 \
24 $(PYTHON) ../../test/cross-test-server.py
26 cross-test-client:
27 cd $(shell echo build/lib.*) && PYTHONPATH=. \
28 PYTHONUNBUFFERED=1 \
29 $(PYTHON) ../../test/cross-test-client.py