This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit b8920b01cb72af93a716bb203fcd8a1202936b97
Author: Kevin Wojniak <[email protected]>
AuthorDate: Thu Mar 3 20:09:53 2022 -0800

    update makefile
---
 test/py/Makefile.am | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/test/py/Makefile.am b/test/py/Makefile.am
index 9433e59..57529d7 100644
--- a/test/py/Makefile.am
+++ b/test/py/Makefile.am
@@ -48,7 +48,11 @@ thrift_gen =                                    \
         gen-py-dynamicslots/ThriftTest/__init__.py           \
         gen-py-dynamicslots/DebugProtoTest/__init__.py \
         gen-py-dynamicslots/DoubleConstantsTest/__init__.py \
-        gen-py-dynamicslots/Recursive/__init__.py
+        gen-py-dynamicslots/Recursive/__init__.py \
+        gen-py-enum/ThriftTest/__init__.py \
+        gen-py-enum/DebugProtoTest/__init__.py \
+        gen-py-enum/DoubleConstantsTest/__init__.py \
+        gen-py-enum/Recursive/__init__.py
 
 
 precross: $(thrift_gen)
@@ -93,6 +97,10 @@ gen-py-dynamicslots/%/__init__.py: ../%.thrift $(THRIFT)
        test -d gen-py-dynamicslots || $(MKDIR_P) gen-py-dynamicslots
        $(THRIFT) --gen py:dynamic,slots -out gen-py-dynamicslots $<
 
+gen-py-enum/%/__init__.py: ../%.thrift $(THRIFT)
+       test -d gen-py-enum || $(MKDIR_P) gen-py-enum
+       $(THRIFT) --gen py:enum -out gen-py-enum $<
+
 clean-local:
        $(RM) -r build
        find . -type f \( -iname "*.pyc" \) | xargs rm -f

Reply via email to