Update copyright years in Info.plist files used by configure

Also update inc_year script to update them automatically the next time,
to prevent them from becoming 3 (for one, or 13 for the other one) years
out of date again.
This commit is contained in:
Vadim Zeitlin
2021-08-15 16:00:41 +02:00
parent bb767e0ebc
commit 1ca29b6721
3 changed files with 11 additions and 8 deletions

View File

@@ -27,6 +27,9 @@ run_sed src/msw/version.rc "s/1993-$old_year/1993-$new_year/"
run_sed src/common/utilscmn.cpp "s/1995-$old_year/1995-$new_year/"
# And Mac files are much newer than that.
for f in samples/minimal/Info_cocoa.plist; do
run_sed $f "s/2005-$old_year/2005-$new_year/"
for f in samples/docview/Info.plist.in \
samples/minimal/Info_cocoa.plist \
src/osx/carbon/Info.plist.in \
; do
run_sed $f "s/200[25]-$old_year/200[25]-$new_year/"
done