pwyckoff | 99b000b | 2008-04-03 19:30:55 +0000 | [diff] [blame] | 1 | DESTDIR ?= / |
| 2 | EXTRA_DIST = setup.py src |
| 3 | |
| 4 | all: |
| 5 | |
| 6 | all-local: |
| 7 | $(PYTHON) setup.py build |
| 8 | |
| 9 | # We're ignoring prefix here because site-packages seems to be |
| 10 | # the equivalent of /usr/local/lib in Python land. |
| 11 | # Old version (can't put inline because it's not portable). |
| 12 | #$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS) |
| 13 | install-exec-hook: |
| 14 | $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS) |
| 15 | |
| 16 | |
| 17 | |
| 18 | clean: clean-local |
| 19 | |
| 20 | clean-local: |
| 21 | $(RM) -r build |
| 22 | |
| 23 | check-local: all |