make-rules/makemaker.mk
branchs11-update
changeset 2855 576d5a7857b7
parent 2649 79b6c91e7f81
child 3996 20c0f21bbe1e
--- a/make-rules/makemaker.mk	Wed Dec 18 04:50:56 2013 -0800
+++ b/make-rules/makemaker.mk	Wed Dec 18 10:04:53 2013 -0800
@@ -62,6 +62,9 @@
 	(cd $(@D) ; $(ENV) $(COMPONENT_BUILD_ENV) \
 		$(GMAKE) $(COMPONENT_BUILD_ARGS) $(COMPONENT_BUILD_TARGETS))
 	$(COMPONENT_POST_BUILD_ACTION)
+ifeq   ($(strip $(PARFAIT_BUILD)),yes)
+	-$(PARFAIT) $(@D)
+endif
 	$(TOUCH) [email protected]
 
 
@@ -83,10 +86,14 @@
 	(cd $(@D) ; $(ENV) $(COMPONENT_TEST_ENV) $(GMAKE) \
 			$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
 	$(COMPONENT_POST_TEST_ACTION)
+	$(TOUCH) [email protected]
+
 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
-	-$(PARFAIT) build
+parfait: build
+else
+parfait:
+	$(MAKE) PARFAIT_BUILD=yes parfait
 endif
-	$(TOUCH) [email protected]
 
 clean:: 
 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR)