make-rules/setup.py.mk
changeset 774 d0cbca26a17c
parent 706 6e61f0012046
child 1057 e04f97962a3d
equal deleted inserted replaced
773:cfddc5466118 774:d0cbca26a17c
    54 	$(COMPONENT_PRE_BUILD_ACTION)
    54 	$(COMPONENT_PRE_BUILD_ACTION)
    55 	(cd $(SOURCE_DIR) ; $(ENV) $(PYTHON_ENV) \
    55 	(cd $(SOURCE_DIR) ; $(ENV) $(PYTHON_ENV) \
    56 		$(PYTHON.$(BITS)) ./setup.py build \
    56 		$(PYTHON.$(BITS)) ./setup.py build \
    57 			--build-temp $(@D:$(BUILD_DIR)/%=%))
    57 			--build-temp $(@D:$(BUILD_DIR)/%=%))
    58 	$(COMPONENT_POST_BUILD_ACTION)
    58 	$(COMPONENT_POST_BUILD_ACTION)
       
    59 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    60 	-$(PARFAIT) $(SOURCE_DIR)/$(@D:$(BUILD_DIR)/%=%)
       
    61 endif
    59 	$(TOUCH) [email protected]
    62 	$(TOUCH) [email protected]
    60 
    63 
    61 
    64 
    62 COMPONENT_INSTALL_ARGS +=	--root $(PROTO_DIR) 
    65 COMPONENT_INSTALL_ARGS +=	--root $(PROTO_DIR) 
    63 COMPONENT_INSTALL_ARGS +=	--install-lib=$(PYTHON_LIB)
    66 COMPONENT_INSTALL_ARGS +=	--install-lib=$(PYTHON_LIB)
    88 		$(COMPONENT_TEST_ENV) \
    91 		$(COMPONENT_TEST_ENV) \
    89 		$(COMPONENT_TEST_CMD) $(COMPONENT_TEST_ARGS) )
    92 		$(COMPONENT_TEST_CMD) $(COMPONENT_TEST_ARGS) )
    90 	$(COMPONENT_POST_TEST_ACTION)
    93 	$(COMPONENT_POST_TEST_ACTION)
    91 	$(TOUCH) [email protected]
    94 	$(TOUCH) [email protected]
    92 
    95 
       
    96 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    97 parfait: install
       
    98 	-$(PARFAIT) build
       
    99 else
       
   100 parfait:
       
   101 	$(MAKE) PARFAIT_BUILD=yes parfait
       
   102 endif
       
   103 
    93 clean::
   104 clean::
    94 	$(RM) -r $(SOURCE_DIR) $(BUILD_DIR)
   105 	$(RM) -r $(SOURCE_DIR) $(BUILD_DIR)