--- a/pkg/Makefile Thu Sep 08 16:06:46 2011 -0700
+++ b/pkg/Makefile Fri Sep 09 20:42:44 2011 -0700
@@ -457,7 +457,12 @@
pmodes: $(PROC_PKGS) fix_perms
$(PKGDEBUG)validate_pkg -a $(PKGMACH) -M -m $(PDIR)
-check: protocmp pmodes lint
+check-pkgfmt: $(ALL_MANIFESTS)
+ @print "## Checking for manifests not in pkgfmt expected form"
+ $(PKGDEBUG)$(PKGFMT) -c $(ALL_MANIFESTS) || true
+ @print ""
+
+check: protocmp pmodes lint check-pkgfmt
# Instead of fixing all the upstream packages to follow our permission rules
# just fix the proto area to match our rules