2 #==================================================================================
3 # Copyright (c) 2019-2020 Nokia
4 # Copyright (c) 2018-2020 AT&T Intellectual Property.
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #==================================================================================
19 # Mnemonic: gen_rel_notes.sh
20 # Abstract: This script looks for CHANGES*.txt files at the top level
21 # and builds one {X}fm source file from which the release notes
22 # RTD file is created.
26 .** ------------------------------------------------------------------------
27 .** CAUTION: This .xfm file is automatically generated by fmt_changes.ksh
28 .** do NOT edit. Use 'make rel-notes.xfm' to regenerate.
29 .** ------------------------------------------------------------------------
32 .dv doc_title Release Notes
35 .im ../lib/front_junk.im
39 &h1(C++ Framework Release Notes)
40 The following is a list of release highlights for the C++ xAPP Framework.
44 for x in ../../../CHANGES*
47 /^#/ { next } # ditch all comments
49 # tag project releases by matching release tag in CHANGES file
50 /^release=/ || /^release =/ {
51 n = split( $0, a, "=" )
52 printf( "&h1(%s Release)\n", a[n] )
56 print_raw && /^$/ { # include blank lines after first real stuff
57 printf( "&space\n\n" );
62 print_raw = 1 # safe to print blank lines
63 printf( "&h2(%s)\n", $0 )