diff usr/src/cmd/hwdata/Makefile @ 13010:c0270875939a

6929502 packages are missing some license files 6930656 license action improvements
author Mark J. Nelson <Mark.J.Nelson@Oracle.COM>
date Mon, 02 Aug 2010 16:37:22 -0600
parents 87c40ea3fc4b
children
line wrap: on
line diff
--- a/usr/src/cmd/hwdata/Makefile	Mon Aug 02 16:35:58 2010 -0600
+++ b/usr/src/cmd/hwdata/Makefile	Mon Aug 02 16:37:22 2010 -0600
@@ -18,9 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../Makefile.cmd
@@ -31,7 +31,14 @@
 
 $(ROOTHWDATA) :=	FILEMODE = 444
 
-all:
+CLOBBERFILES += THIRDPARTYLICENSE.pciids
+
+all install: THIRDPARTYLICENSE.pciids
+
+THIRDPARTYLICENSE.pciids: pci.ids THIRDPARTYLICENSE.pciids.tmpl
+	$(RM) $@
+	$(SED) -e '/^$$/,$$ d' < pci.ids > $@
+	$(CAT) THIRDPARTYLICENSE.pciids.tmpl >> $@
 
 install: $(ROOTHWDATA)
 
@@ -42,3 +49,4 @@
 
 FRC:
 
+include ../Makefile.targ