blob: 796f99eb0c3d33ac4e4347e910ad6eab50838738 [file] [log] [blame]
Aditya Agarwal99e2c072007-07-31 01:36:08 +00001DESTDIR ?= /
Mark Slee5299a952007-10-05 00:13:24 +00002EXTRA_DIST = bootstrap.sh cleanup.sh setup.py LICENSE src
3
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