mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
3de1c4e4d3
Summary: Redefining an Automake rule totally blows away anything Automake puts in place. By using all-local instead of all, we can just add to the generated rule. Reviewed By: marc Test Plan: make git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665499 13f79535-47bb-0310-9956-ffa450edef68
18 lines
502 B
Makefile
18 lines
502 B
Makefile
DESTDIR ?= /
|
|
EXTRA_DIST = setup.py src
|
|
|
|
all-local:
|
|
$(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-local:
|
|
$(RM) -r build
|
|
|
|
check-local: all
|