CMake: update Info.plist variables
Use the same values as in build/bakefiles/mac_bundles.bkl. Use the correct copyright year for in the Info.plist files.
This commit is contained in:
@@ -15,8 +15,7 @@ old_year=`expr $new_year - 1`
|
||||
echo "Updating dates to use $new_year instead of $old_year:"
|
||||
|
||||
# Update copyright to extend to the new year.
|
||||
for f in CMakeLists.txt \
|
||||
docs/doxygen/mainpages/copyright.h docs/doxygen/regen.sh \
|
||||
for f in docs/doxygen/mainpages/copyright.h docs/doxygen/regen.sh \
|
||||
interface/wx/aboutdlg.h interface/wx/generic/aboutdlgg.h \
|
||||
; do
|
||||
run_sed $f "s/1992-$old_year/1992-$new_year/"
|
||||
@@ -27,5 +26,6 @@ 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.
|
||||
run_sed CMakeLists.txt "s/2002-$old_year/2002-$new_year/"
|
||||
run_set build/bakefiles/mac_bundles.bkl "s/2002-$old_year/2002-$new_year/"
|
||||
run_sed samples/minimal/Info_cocoa.plist "s/2005-$old_year/2005-$new_year/"
|
||||
|
Reference in New Issue
Block a user