summaryrefslogtreecommitdiff
path: root/contrib/fb303
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2009-02-07 02:36:57 +0000
committerDavid Reiss <dreiss@apache.org>2009-02-07 02:36:57 +0000
commit4bec874d826338bb925146610aef807670afc0f7 (patch)
treeacb04002ac9af35e80313128266b06a6ec5c83eb /contrib/fb303
parentcd5284c735bec7ee98dfc27ba4d3e4d2bc9bf0e4 (diff)
downloadthrift-4bec874d826338bb925146610aef807670afc0f7.tar.gz
THRIFT-292. Auto-generate the Python gen-code in build.xml
r739384 deleted the generated Python code from the source tree. With this change, it will be automatically generated when make is run. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741830 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'contrib/fb303')
-rw-r--r--contrib/fb303/py/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/fb303/py/Makefile.am b/contrib/fb303/py/Makefile.am
index d6fac6e04..6883d663d 100644
--- a/contrib/fb303/py/Makefile.am
+++ b/contrib/fb303/py/Makefile.am
@@ -4,6 +4,8 @@ EXTRA_DIST = setup.py src
all:
all-local:
+ $(thrift_home)/bin/thrift --gen py $(top_srcdir)/if/fb303.thrift
+ mv gen-py/fb303/* fb303
$(PYTHON) setup.py build
# We're ignoring prefix here because site-packages seems to be