cat <<endKat
+.** ------------------------------------------------------------------------
+.** CAUTION: This .xfm file is automatically generated by fmt_changes.ksh
+.** do NOT edit. Use 'make rel-notes.xfm' to regenerate.
+.** ------------------------------------------------------------------------
+
.dv GEN_TITLE 1
.dv doc_title RMR Release Notes
.im setup.im
When the wrapper code was moved to a different repo the need to leap frog
versions ceased, and beginning with version 4.0.0, the RMR versions should
no longer skip.
-&space
endKat
for x in ../../../CHANGES*.txt
do
- sed 's/^/!/' $x | awk '
- print_raw && /^!$/ {
+ awk '
+ /^#/ { next } # ditch all comments
+
+ # tag project releases by matching release tag associated
+ /4\.4\.6$/ { printf( "&h1(Cherry Release)\n" ); rheader = 1 }
+ /4\.0\.5$/ { printf( "&h1(Bronze Release)\n" ); rheader = 1 }
+ /1\.11\.1$/ { printf( "&h1(Amber Release)\n" ); rheader = 1 }
+
+ print_raw && /^\t\t/ { # anything indented should be unformatted
+ gsub( "^\t\t", " ", $0 )
+ if( ! format_off ) {
+ format_off = 1
+ printf( ".nf\n" )
+ }
+ }
+
+ print_raw && /^$/ { # include blank lines after first real stuff
+ if( format_off ) {
+ format_off = 0
+ printf( ".fo\n" );
+ }
printf( "&space\n\n" );
next
}
- { gsub ( "!", "", $1 ) }
-
$1 + 0 >= 2019 {
- print_raw = 1
+ print_raw = 1 # safe to print blank lines
printf( "&h2(%s)\n", $0 )
next
}
print_raw { print }
- ' ###
+ ' $x
done