File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 12381238 <key >CFBundlePackageType </key >
12391239 <string >APPL </string >
12401240 <key >CFBundleShortVersionString </key >
1241- <string >8.0 </string >
1241+ <string >${VIM_SHORT_VERSION_STRING} </string >
12421242 <key >CFBundleSignature </key >
12431243 <string >VIMM </string >
12441244 <key >CFBundleURLTypes </key >
Original file line number Diff line number Diff line change @@ -14192,6 +14192,11 @@ $as_echo "using default" >&6; }
1419214192fi
1419314193
1419414194
14195+ vim_short_version_string=` grep ' define.*VIM_VERSION_SHORT' $srcdir /version.h| sed -E -e ' s/.*"([0-9.]*)".*/\1/' `
14196+ snapshot=` grep -C2 " Add new patch number below this line" $srcdir /version.c| tail -1| sed -E -e ' s/^ *([0-9]+),.*/\1/' `
14197+ vim_short_version_string=" $vim_short_version_string .$snapshot "
14198+ XCODEFLAGS=" $XCODEFLAGS VIM_SHORT_VERSION_STRING=$vim_short_version_string "
14199+
1419514200
1419614201fi
1419714202
Original file line number Diff line number Diff line change @@ -4347,6 +4347,12 @@ if test "x$MACOSX" = "xyes"; then
43474347 AC_MSG_RESULT ( $withval ) ] ,
43484348 [ AC_MSG_RESULT ( using default ) ] )
43494349
4350+ dnl Set CFBundleShortVersionString of Info.plist
4351+ vim_short_version_string=`grep 'define.*VIM_VERSION_SHORT' $srcdir/version.h|sed -E -e 's/.*"([ [ 0-9.] ] *)".*/\1/'`
4352+ snapshot=`grep -C2 "Add new patch number below this line" $srcdir/version.c|tail -1|sed -E -e 's/^ *([ [ 0-9] ] +),.*/\1/'`
4353+ vim_short_version_string="$vim_short_version_string.$snapshot"
4354+ XCODEFLAGS="$XCODEFLAGS VIM_SHORT_VERSION_STRING=$vim_short_version_string"
4355+
43504356 AC_SUBST ( XCODEFLAGS )
43514357fi
43524358
You can’t perform that action at this time.
0 commit comments