blob: 257e9abe129929a3ea64687d2a9f3ecd9de739e9 [file] [log] [blame]
Aditya Agarwal99e2c072007-07-31 01:36:08 +00001DESTDIR ?= /
David Reiss832b2622007-12-28 18:25:33 +00002EXTRA_DIST = setup.py src
Mark Slee5299a952007-10-05 00:13:24 +00003
4all:
5 $(PYTHON) setup.py build
Aditya Agarwal99e2c072007-07-31 01:36:08 +00006
David Reissaea19c92007-08-29 23:17:32 +00007# We're ignoring prefix here because site-packages seems to be
8# the equivalent of /usr/local/lib in Python land.
9# Old version (can't put inline because it's not portable).
10#$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS)
Marc Slemkod95abdd2007-01-16 22:20:19 +000011install-exec-hook:
David Reissd6832192007-09-05 00:47:32 +000012 $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)
David Reissb72d19f2007-09-18 19:46:00 +000013
Mark Slee5299a952007-10-05 00:13:24 +000014clean-generic:
15 rm -rf build
16