blob: d6fac6e044a9e62877955abce7fe0b248f5617f8 [file] [log] [blame]
pwyckoff99b000b2008-04-03 19:30:55 +00001DESTDIR ?= /
2EXTRA_DIST = setup.py src
3
4all:
5
6all-local:
7 $(PYTHON) setup.py build
8
9# We're ignoring prefix here because site-packages seems to be
10# the equivalent of /usr/local/lib in Python land.
11# Old version (can't put inline because it's not portable).
12#$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS)
13install-exec-hook:
14 $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)
15
16
17
18clean: clean-local
19
20clean-local:
21 $(RM) -r build
22
23check-local: all