Aditya Agarwal | 99e2c07 | 2007-07-31 01:36:08 +0000 | [diff] [blame] | 1 | DESTDIR ?= / |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 2 | EXTRA_DIST = setup.py src |
Mark Slee | 5299a95 | 2007-10-05 00:13:24 +0000 | [diff] [blame] | 3 | |
David Reiss | 3de1c4e | 2008-02-24 17:45:03 +0000 | [diff] [blame^] | 4 | all-local: |
Mark Slee | 5299a95 | 2007-10-05 00:13:24 +0000 | [diff] [blame] | 5 | $(PYTHON) setup.py build |
Aditya Agarwal | 99e2c07 | 2007-07-31 01:36:08 +0000 | [diff] [blame] | 6 | |
David Reiss | aea19c9 | 2007-08-29 23:17:32 +0000 | [diff] [blame] | 7 | # 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 Slemko | d95abdd | 2007-01-16 22:20:19 +0000 | [diff] [blame] | 11 | install-exec-hook: |
David Reiss | d683219 | 2007-09-05 00:47:32 +0000 | [diff] [blame] | 12 | $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS) |
David Reiss | b72d19f | 2007-09-18 19:46:00 +0000 | [diff] [blame] | 13 | |
David Reiss | 2ca456a | 2008-02-24 16:42:18 +0000 | [diff] [blame] | 14 | clean-local: |
| 15 | $(RM) -r build |
Mark Slee | 5299a95 | 2007-10-05 00:13:24 +0000 | [diff] [blame] | 16 | |
David Reiss | 223d6bd | 2008-02-24 02:03:17 +0000 | [diff] [blame] | 17 | check-local: all |