diff -r 0b0946d94dd3 -r bd6c9b9b753f tools/generate-history --- a/tools/generate-history Wed Mar 09 15:02:59 2016 -0800 +++ b/tools/generate-history Wed Mar 09 16:26:11 2016 -0800 @@ -17,12 +17,21 @@ continue } printf "set name=pkg.fmri value=pkg:/%s\n", fmri + if ($NF ~ /^incorporate=/) { + incorporate=$NF; + NF--; + } if (NF == 2) { print "set name=pkg.renamed value=true" printf "depend type=require fmri=%s\n", $2 } else { print "set name=pkg.obsolete value=true" } - print "set name=org.opensolaris.consolidation value=$(CONSOLIDATION)" + if (incorporate) { + printf "set name=org.opensolaris.consolidation %s value=$(CONSOLIDATION)\n", + incorporate + } else { + print "set name=org.opensolaris.consolidation value=$(CONSOLIDATION)" + } exit 0 # We're done; no point continuing. }