make-rules/makemaker.mk
changeset 1352 1358a1e1ff4c
parent 1335 de08f025b1d0
child 2000 a55999d4dec9
--- a/make-rules/makemaker.mk	Tue Jun 18 13:15:45 2013 -0700
+++ b/make-rules/makemaker.mk	Tue Jun 18 15:52:28 2013 -0700
@@ -71,6 +71,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]
 
 
@@ -92,10 +95,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)