From 4bec874d826338bb925146610aef807670afc0f7 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Sat, 7 Feb 2009 02:36:57 +0000 Subject: [PATCH] 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 --- contrib/fb303/py/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/fb303/py/Makefile.am b/contrib/fb303/py/Makefile.am index d6fac6e0..6883d663 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 -- 2.17.1