Makefile revision 304
302N/A# The contents of this file are subject to the terms of the 302N/A# Common Development and Distribution License (the "License"). 302N/A# You may not use this file except in compliance with the License. 302N/A# See the License for the specific language governing permissions 302N/A# and limitations under the License. 302N/A# When distributing Covered Code, include this CDDL HEADER in each 302N/A# If applicable, add the following below this CDDL HEADER, with the 302N/A# fields enclosed by brackets "[]" replaced with your own identifying 302N/A# information: Portions Copyright [yyyy] [name of copyright owner] 302N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 302N/A# Since upstream only offers the latest snapshot for download, without 302N/A# any way to retrieve a specific version, we just keep the currently 302N/A# shipped versions of these two text files directly in the gate and 302N/A# simply check in new versions to update them. 302N/A# When it's time to update, you can use these rules to download with 302N/A# correctly extracted and copied into the generated license files. 304N/A @
echo 'No downloads for this component' 302N/A# License files for packaging are generated during the build 302N/A# Extract the header up to the first blank line 302N/A# Generate license files for each document by substituting in templates: 302N/A# __FILENAME__ replace with name of ids file (uses basename to strip 302N/A# .license suffix, @F to strip the directories from file path) 302N/A# __HEADER__ - read in contents of generated header file, then delete the 302N/A $(GSED) -e
's/__FILENAME__/$(basename $(@F))/' \