make-rules/ips.mk
changeset 1138 6e1f85fa0151
parent 1056 b2ec61db2a04
child 1151 76498004a954
--- a/make-rules/ips.mk	Thu Jan 31 15:47:26 2013 -0800
+++ b/make-rules/ips.mk	Fri Feb 01 18:32:13 2013 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
@@ -245,6 +245,14 @@
 			-f $(WS_TOOLS)/pkglintrc $(RESOLVED)
 	$(TOUCH) $@
 
+lintme: FRC
+	@echo "VALIDATING MANIFEST CONTENT: $(RESOLVED)"
+	$(ENV) PYTHONPATH=$(WS_TOOLS)/python PROTO_PATH="$(PKG_PROTO_DIRS)"\
+		$(PKGLINT) $(CANONICAL_REPO:%=-c $(WS_LINT_CACHE)) \
+			-f $(WS_TOOLS)/pkglintrc $(RESOLVED)
+
+FRC:
+
 
 # published
 PKGSEND_PUBLISH_OPTIONS = -s $(PKG_REPO) publish --fmri-in-manifest