blob: 796f99eb0c3d33ac4e4347e910ad6eab50838738 [file] [log] [blame]
DESTDIR ?= /
EXTRA_DIST = bootstrap.sh cleanup.sh setup.py LICENSE src
all:
$(PYTHON) setup.py build
# We're ignoring prefix here because site-packages seems to be
# the equivalent of /usr/local/lib in Python land.
# Old version (can't put inline because it's not portable).
#$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS)
install-exec-hook:
$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)
clean-generic:
rm -rf build