diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-05 16:01:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-05 16:01:24 +0200 |
commit | b63ab8a2a1655c6714efac2143d6df0c56a62b18 (patch) | |
tree | 406f3121ac59ef496c4c6f7e7606822fa1e0c08b /copyright | |
parent | d7c2d1fba0103bbdac32aea327a3715b7a08b898 (diff) |
Update copyright year
Diffstat (limited to 'copyright')
-rwxr-xr-x | copyright | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -2,16 +2,23 @@ # Manage build2 toolchain copyright. # +# NOTES: +# +# 1. Update the style submodule first. +# 2. Check if any new submodules that need to be excluded (below). +# 3. After first run, regenerate docs, and run again. +# 4. Review changes before committing. +# # Usage: copyright # usage="usage: $0" -old=2015 -new=2016 +old=2016 +new=2017 # In extras we just grep for the old date. # -modules="libbutl build2 libbpkg bpkg brep build2-toolchain" +modules="libbutl build2 libbpkg bpkg brep build2-toolchain msvc-linux" extras="etc private" owd=`pwd` @@ -28,7 +35,7 @@ function ised () # <regex> <file> { local r=$1 local f=$2 - local o=$f.orig + local o=$f.ised-orig mv $f $o cp -p $o $f # Keep owner, permissions. @@ -50,9 +57,11 @@ for m in $modules; do # exclude=.git - # Exclude submodules in build2-toolchain. + # Exclude submodules. # - if [ $m = "build2-toolchain" ]; then + if [ $m = "build2" ]; then + exclude="$exclude config" + elif [ $m = "build2-toolchain" ]; then exclude="$exclude bpkg build2 libbutl libbpkg" fi |