make-rules/ips.mk
changeset 1756 3579365335ef
parent 1609 87293f3666a2
child 1890 5a4ef66c42bf
equal deleted inserted replaced
1755:ad1cb0530c69 1756:3579365335ef
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 #
    24 #
    25 # Rules and Macros for generating an IPS package manifest and publishing an
    25 # Rules and Macros for generating an IPS package manifest and publishing an
    26 # IPS package to a pkg depot.
    26 # IPS package to a pkg depot.
   284 
   284 
   285 # lint the manifests all at once
   285 # lint the manifests all at once
   286 $(BUILD_DIR)/.linted-$(MACH):	$(BUILD_DIR)/.resolved-$(MACH)
   286 $(BUILD_DIR)/.linted-$(MACH):	$(BUILD_DIR)/.resolved-$(MACH)
   287 	@echo "VALIDATING MANIFEST CONTENT: $(RESOLVED)"
   287 	@echo "VALIDATING MANIFEST CONTENT: $(RESOLVED)"
   288 	$(ENV) PYTHONPATH=$(WS_TOOLS)/python PROTO_PATH="$(PKG_PROTO_DIRS)"\
   288 	$(ENV) PYTHONPATH=$(WS_TOOLS)/python PROTO_PATH="$(PKG_PROTO_DIRS)"\
       
   289 		SOLARIS_VERSION=$(SOLARIS_VERSION)\
   289 		$(PKGLINT) $(CANONICAL_REPO:%=-c $(WS_LINT_CACHE)) \
   290 		$(PKGLINT) $(CANONICAL_REPO:%=-c $(WS_LINT_CACHE)) \
   290 			-f $(WS_TOOLS)/pkglintrc $(RESOLVED)
   291 			-f $(WS_TOOLS)/pkglintrc $(RESOLVED)
   291 	$(TOUCH) [email protected]
   292 	$(TOUCH) [email protected]
   292 
   293 
   293 lintme: FRC
   294 lintme: FRC
   294 	@echo "VALIDATING MANIFEST CONTENT: $(RESOLVED)"
   295 	@echo "VALIDATING MANIFEST CONTENT: $(RESOLVED)"
   295 	$(ENV) PYTHONPATH=$(WS_TOOLS)/python PROTO_PATH="$(PKG_PROTO_DIRS)"\
   296 	$(ENV) PYTHONPATH=$(WS_TOOLS)/python PROTO_PATH="$(PKG_PROTO_DIRS)"\
       
   297 		SOLARIS_VERSION=$(SOLARIS_VERSION)\
   296 		$(PKGLINT) $(CANONICAL_REPO:%=-c $(WS_LINT_CACHE)) \
   298 		$(PKGLINT) $(CANONICAL_REPO:%=-c $(WS_LINT_CACHE)) \
   297 			-f $(WS_TOOLS)/pkglintrc $(RESOLVED)
   299 			-f $(WS_TOOLS)/pkglintrc $(RESOLVED)
   298 
   300 
   299 FRC:
   301 FRC:
   300 
   302