diff options
author | David Reiss <dreiss@apache.org> | 2009-02-07 02:36:57 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2009-02-07 02:36:57 +0000 |
commit | 4bec874d826338bb925146610aef807670afc0f7 (patch) | |
tree | acb04002ac9af35e80313128266b06a6ec5c83eb /contrib/fb303 | |
parent | cd5284c735bec7ee98dfc27ba4d3e4d2bc9bf0e4 (diff) | |
download | thrift-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.am | 2 |
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 |