Aditya Agarwal | 99e2c07 | 2007-07-31 01:36:08 +0000 | [diff] [blame] | 1 | DESTDIR ?= / |
Mark Slee | 5299a95 | 2007-10-05 00:13:24 +0000 | [diff] [blame^] | 2 | EXTRA_DIST = bootstrap.sh cleanup.sh setup.py LICENSE src |
| 3 | |
| 4 | all: |
| 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 | |
Mark Slee | 5299a95 | 2007-10-05 00:13:24 +0000 | [diff] [blame^] | 14 | clean-generic: |
| 15 | rm -rf build |
| 16 | |