6734627 protocmp complains about opt/SUNWdtrt/README after TW -> Hg switch
authorJohn Beck <John.Beck@Sun.COM>
Thu, 07 Aug 2008 12:44:26 -0700
changeset 7299 d9a056040774
parent 7298 b69e27387f74
child 7300 3f0c3af330d3
6734627 protocmp complains about opt/SUNWdtrt/README after TW -> Hg switch
usr/src/cmd/dtrace/test/Makefile
--- a/usr/src/cmd/dtrace/test/Makefile	Wed Aug 06 16:29:39 2008 -0600
+++ b/usr/src/cmd/dtrace/test/Makefile	Thu Aug 07 12:44:26 2008 -0700
@@ -20,10 +20,9 @@
 #
 
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
 
 include $(SRC)/Makefile.master
 
@@ -39,9 +38,10 @@
 	@cd $(PKGDEFS) pwd; $(MAKE) awk_pkginfo
 	@cd $(PKGDEFS)/SUNWdtrt; pwd; $(MAKE) install
 
+$(ROOTOPTPKG)/% := FILEMODE = 0444
+
 $(ROOTOPTPKG):
 	$(INS.dir)
 
 $(ROOTOPTPKG)/%: ./% $(ROOTOPTPKG)
-	$(RM) $@
-	$(CP) $< $@
+	$(INS.file)