7061971 X builds shouldn't re-run pkglint when processed manifests haven't changed
authorAlan Coopersmith <Alan.Coopersmith@Oracle.COM>
Tue, 12 Jul 2011 16:44:52 -0700
changeset 1161 92cb0ee2804d
parent 1160 e1a0d8b6903e
child 1162 9045745b7172
7061971 X builds shouldn't re-run pkglint when processed manifests haven't changed
pkg/Makefile
--- a/pkg/Makefile	Thu Jul 07 09:10:41 2011 -0700
+++ b/pkg/Makefile	Tue Jul 12 16:44:52 2011 -0700
@@ -345,6 +345,7 @@
 #
 $(PDIR)/checkmf: $(PDIR)/gendeps $(DEP_SYNTH_PKGS) $(DEP_PKGS)
 	@print "## Checking packages"
+	@$(RM) $@
 	@$(TOUCH) $(PDIR)/pkglint-output.txt
 	-$(PKGDEBUG)for p in $(DEP_SYNTH_PKGS:%.dep=%) $(DEP_PKGS:%.dep=%); do \
 		if [[ -s $$p.res ]]; then \
@@ -358,11 +359,12 @@
 	if grep '^ERROR' $(PDIR)/pkglint-output.txt; then \
 		return 1; \
 	fi
+	@$(TOUCH) $@
 
 ### Repo setup
 
 # Default in developer builds is "xnv-devel"
-# X RE cronjob build scripts override to "xnv-nightly" or "xnv-biweekly"
+# X RE cronjob build scripts override to "xnv-nightly"
 PKGPUBLISHER = xnv-devel
 
 # Initialize the empty on-disk repositories