make-rules/justmake.mk
changeset 1352 1358a1e1ff4c
parent 774 d0cbca26a17c
child 2022 d590db614c66
child 3996 20c0f21bbe1e
--- a/make-rules/justmake.mk	Tue Jun 18 13:15:45 2013 -0700
+++ b/make-rules/justmake.mk	Tue Jun 18 15:52:28 2013 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
 #
 #
 # Rules and Macros for building opens source software that just uses their
@@ -55,7 +55,7 @@
 		$(GMAKE) $(COMPONENT_BUILD_ARGS) $(COMPONENT_BUILD_TARGETS))
 	$(COMPONENT_POST_BUILD_ACTION)
 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
-	-$(PARFAIT) build
+	-$(PARFAIT) $(@D)
 endif
 	$(TOUCH) [email protected]
 
@@ -77,8 +77,7 @@
 	$(TOUCH) [email protected]
 
 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
-parfait: install
-	-$(PARFAIT) build
+parfait: build
 else
 parfait:
 	$(MAKE) PARFAIT_BUILD=yes parfait