7068147 removing CDDL from copies of source/text files delivered to the binary product
--- a/Makefile Thu Jun 16 15:52:21 2011 +0200
+++ b/Makefile Fri Jul 29 14:07:04 2011 +0200
@@ -374,7 +374,10 @@
build/.installed_extensions: $(FILEROOT)/usr/lib/localedef/src/extensions/.dir
$(M)INSTALL extensions
- $(Q)cp misc/*.x $(FILEROOT)/usr/lib/localedef/src/extensions/
+ $(Q)for fn in misc/*.x; do \
+ $(PERL) -ne 'print unless /CDDL HEADER START/ .. /CDDL HEADER END/' $$fn > $(FILEROOT)/usr/lib/localedef/src/extensions/`basename $$fn`; \
+ done
+
build/SUNWlocaledefsrc/.installed: $(LOCALES:%=build/%/.installed_locale_src) $(CHARMAPS:%=build/.installed_charmap_%) build/.installed_extensions