You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/02/07 03:36:57 UTC

svn commit: r741830 - /incubator/thrift/trunk/contrib/fb303/py/Makefile.am

Author: dreiss
Date: Sat Feb  7 02:36:57 2009
New Revision: 741830

URL: http://svn.apache.org/viewvc?rev=741830&view=rev
Log:
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.

Modified:
    incubator/thrift/trunk/contrib/fb303/py/Makefile.am

Modified: incubator/thrift/trunk/contrib/fb303/py/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/contrib/fb303/py/Makefile.am?rev=741830&r1=741829&r2=741830&view=diff
==============================================================================
--- incubator/thrift/trunk/contrib/fb303/py/Makefile.am (original)
+++ incubator/thrift/trunk/contrib/fb303/py/Makefile.am Sat Feb  7 02:36:57 2009
@@ -4,6 +4,8 @@
 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