make-rules/ips.mk
changeset 1138 6e1f85fa0151
parent 1056 b2ec61db2a04
child 1151 76498004a954
equal deleted inserted replaced
1137:5f35de46aa92 1138:6e1f85fa0151
    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, 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2010, 2013, 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.
   243 	$(ENV) PYTHONPATH=$(WS_TOOLS)/python PROTO_PATH="$(PKG_PROTO_DIRS)"\
   243 	$(ENV) PYTHONPATH=$(WS_TOOLS)/python PROTO_PATH="$(PKG_PROTO_DIRS)"\
   244 		$(PKGLINT) $(CANONICAL_REPO:%=-c $(WS_LINT_CACHE)) \
   244 		$(PKGLINT) $(CANONICAL_REPO:%=-c $(WS_LINT_CACHE)) \
   245 			-f $(WS_TOOLS)/pkglintrc $(RESOLVED)
   245 			-f $(WS_TOOLS)/pkglintrc $(RESOLVED)
   246 	$(TOUCH) $@
   246 	$(TOUCH) $@
   247 
   247 
       
   248 lintme: FRC
       
   249 	@echo "VALIDATING MANIFEST CONTENT: $(RESOLVED)"
       
   250 	$(ENV) PYTHONPATH=$(WS_TOOLS)/python PROTO_PATH="$(PKG_PROTO_DIRS)"\
       
   251 		$(PKGLINT) $(CANONICAL_REPO:%=-c $(WS_LINT_CACHE)) \
       
   252 			-f $(WS_TOOLS)/pkglintrc $(RESOLVED)
       
   253 
       
   254 FRC:
       
   255 
   248 
   256 
   249 # published
   257 # published
   250 PKGSEND_PUBLISH_OPTIONS = -s $(PKG_REPO) publish --fmri-in-manifest
   258 PKGSEND_PUBLISH_OPTIONS = -s $(PKG_REPO) publish --fmri-in-manifest
   251 PKGSEND_PUBLISH_OPTIONS += $(PKG_PROTO_DIRS:%=-d %)
   259 PKGSEND_PUBLISH_OPTIONS += $(PKG_PROTO_DIRS:%=-d %)
   252 PKGSEND_PUBLISH_OPTIONS += -T \*.py
   260 PKGSEND_PUBLISH_OPTIONS += -T \*.py