From: Aditya Agarwal Date: Tue, 31 Jul 2007 01:36:08 +0000 (+0000) Subject: -- allow packaging of thrift as an rpm X-Git-Tag: 0.2.0~1287 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=99e2c07815c927f319c19e01f9a0d3a2f34b807c;p=common%2Fthrift.git -- allow packaging of thrift as an rpm Summary: - also allows development as a non-root user - contributed by Ben Maurer Reviewed By: marc Test Plan: "compile", install git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665185 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/py/Makefile.am b/lib/py/Makefile.am index 579a3ebb..27d11158 100644 --- a/lib/py/Makefile.am +++ b/lib/py/Makefile.am @@ -1,2 +1,4 @@ +DESTDIR ?= / + install-exec-hook: - $(PYTHON) setup.py install + $(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS)