blob: 99aa2cead04e00b9954fbafc39cf8aa148feba4f [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
David Reiss3de1c4e2008-02-24 17:45:03 +00004all-local:
Mark Slee5299a952007-10-05 00:13:24 +00005 $(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
David Reiss2ca456a2008-02-24 16:42:18 +000014clean-local:
15 $(RM) -r build
Mark Slee5299a952007-10-05 00:13:24 +000016
David Reiss223d6bd2008-02-24 02:03:17 +000017check-local: all