make-rules/setup.py.mk
changeset 774 d0cbca26a17c
parent 706 6e61f0012046
child 1057 e04f97962a3d
--- a/make-rules/setup.py.mk	Tue Apr 17 10:38:01 2012 -0700
+++ b/make-rules/setup.py.mk	Tue Apr 17 10:40:54 2012 -0700
@@ -56,6 +56,9 @@
 		$(PYTHON.$(BITS)) ./setup.py build \
 			--build-temp $(@D:$(BUILD_DIR)/%=%))
 	$(COMPONENT_POST_BUILD_ACTION)
+ifeq   ($(strip $(PARFAIT_BUILD)),yes)
+	-$(PARFAIT) $(SOURCE_DIR)/$(@D:$(BUILD_DIR)/%=%)
+endif
 	$(TOUCH) [email protected]
 
 
@@ -90,5 +93,13 @@
 	$(COMPONENT_POST_TEST_ACTION)
 	$(TOUCH) [email protected]
 
+ifeq   ($(strip $(PARFAIT_BUILD)),yes)
+parfait: install
+	-$(PARFAIT) build
+else
+parfait:
+	$(MAKE) PARFAIT_BUILD=yes parfait
+endif
+
 clean::
 	$(RM) -r $(SOURCE_DIR) $(BUILD_DIR)