|
51 | 51 | 1DCD00D20E50B2B700460166 /* TagJump.png in Resources */ = {isa = PBXBuildFile; fileRef = 1DCD00BD0E50B2B700460166 /* TagJump.png */; };
|
52 | 52 | 1DCD00D30E50B2B700460166 /* Undo.png in Resources */ = {isa = PBXBuildFile; fileRef = 1DCD00BE0E50B2B700460166 /* Undo.png */; };
|
53 | 53 | 1DD04DEC0C529C5E006CDC2B /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 1DD04DEB0C529C5E006CDC2B /* Credits.rtf */; };
|
54 |
| - 1DD0C20C0C60FFB4008CD84A /* gvimrc in Copy Vim Runtime Files */ = {isa = PBXBuildFile; fileRef = 1DD0C20A0C60FF9A008CD84A /* gvimrc */; }; |
| 54 | + 1DD0C20C0C60FFB4008CD84A /* gvimrc in Copy default vimrc files */ = {isa = PBXBuildFile; fileRef = 1DD0C20A0C60FF9A008CD84A /* gvimrc */; }; |
55 | 55 | 1DD3D51E0D82D4C9006E4320 /* ibeam.png in Resources */ = {isa = PBXBuildFile; fileRef = 1DD3D51D0D82D4C9006E4320 /* ibeam.png */; };
|
56 | 56 | 1DD66ECE0C803D3600EBDAB3 /* MMApplication.m in Sources */ = {isa = PBXBuildFile; fileRef = 1DD66ECC0C803D3600EBDAB3 /* MMApplication.m */; };
|
57 | 57 | 1DD9F5E50C85D60500E8D5A5 /* SystemColors.plist in Resources */ = {isa = PBXBuildFile; fileRef = 1DD9F5E40C85D60500E8D5A5 /* SystemColors.plist */; };
|
58 | 58 | 1DE3F8EB0D50F84600052B9E /* MMPreferenceController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1DE3F8E90D50F84600052B9E /* MMPreferenceController.m */; };
|
59 |
| - 1DE608B40C587FDA0055263D /* runtime in Copy Vim Runtime Files */ = {isa = PBXBuildFile; fileRef = 1DE602470C587FD10055263D /* runtime */; }; |
60 | 59 | 1DE63FFB0E71820F00959BDB /* MMCoreTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1DE63FFA0E71820F00959BDB /* MMCoreTextView.m */; };
|
61 | 60 | 1DE8CC620C5E2AAD003F56E3 /* Actions.plist in Resources */ = {isa = PBXBuildFile; fileRef = 1DE8CC610C5E2AAD003F56E3 /* Actions.plist */; };
|
62 | 61 | 1DE9B9500D341AB8008FEDD4 /* MMWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 1DE9B94E0D341AB8008FEDD4 /* MMWindow.m */; };
|
63 |
| - 1DED78600C6DE43D0079945F /* vimrc in Copy Vim Runtime Files */ = {isa = PBXBuildFile; fileRef = 1DED785F0C6DE43D0079945F /* vimrc */; }; |
| 62 | + 1DED78600C6DE43D0079945F /* vimrc in Copy default vimrc files */ = {isa = PBXBuildFile; fileRef = 1DED785F0C6DE43D0079945F /* vimrc */; }; |
64 | 63 | 1DFE25A50C527BC4003000F7 /* PSMTabBarControl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D493DB90C52533B00AB718C /* PSMTabBarControl.framework */; };
|
65 | 64 | 52818B031C1C08CE00F59085 /* QLStephen.qlgenerator in Copy QuickLookPlugin */ = {isa = PBXBuildFile; fileRef = 52818AFF1C1C075300F59085 /* QLStephen.qlgenerator */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
|
66 | 65 | 528DA66A1426D4F9003380F1 /* macvim-askpass in Copy Scripts */ = {isa = PBXBuildFile; fileRef = 528DA6691426D4EB003380F1 /* macvim-askpass */; };
|
|
133 | 132 | name = "Copy Frameworks";
|
134 | 133 | runOnlyForDeploymentPostprocessing = 0;
|
135 | 134 | };
|
136 |
| - 1DE608B80C58807F0055263D /* Copy Vim Runtime Files */ = { |
| 135 | + 1DE608B80C58807F0055263D /* Copy default vimrc files */ = { |
137 | 136 | isa = PBXCopyFilesBuildPhase;
|
138 | 137 | buildActionMask = 2147483647;
|
139 | 138 | dstPath = vim;
|
140 | 139 | dstSubfolderSpec = 7;
|
141 | 140 | files = (
|
142 |
| - 1DED78600C6DE43D0079945F /* vimrc in Copy Vim Runtime Files */, |
143 |
| - 1DD0C20C0C60FFB4008CD84A /* gvimrc in Copy Vim Runtime Files */, |
144 |
| - 1DE608B40C587FDA0055263D /* runtime in Copy Vim Runtime Files */, |
| 141 | + 1DED78600C6DE43D0079945F /* vimrc in Copy default vimrc files */, |
| 142 | + 1DD0C20C0C60FFB4008CD84A /* gvimrc in Copy default vimrc files */, |
145 | 143 | );
|
146 |
| - name = "Copy Vim Runtime Files"; |
| 144 | + name = "Copy default vimrc files"; |
147 | 145 | runOnlyForDeploymentPostprocessing = 0;
|
148 | 146 | };
|
149 | 147 | 52818B021C1C088000F59085 /* Copy QuickLookPlugin */ = {
|
|
880 | 878 | 1D0DCAD80BA3604D00B6CCFA /* Copy Executables */,
|
881 | 879 | 1D9EB2840C366D7B0074B739 /* Copy Frameworks */,
|
882 | 880 | 52818B021C1C088000F59085 /* Copy QuickLookPlugin */,
|
883 |
| - 1DE608B80C58807F0055263D /* Copy Vim Runtime Files */, |
884 |
| - 90BD4EF224E0E8B700BF29F2 /* Copy locale message translation files */, |
| 881 | + 1DE608B80C58807F0055263D /* Copy default vimrc files */, |
| 882 | + 9050374C2AAEFA2500E9846A /* Generate runtime folder list */, |
| 883 | + 90BD4EF224E0E8B700BF29F2 /* Copy Vim runtime / localization files */, |
885 | 884 | 1D1C31F00EFFBFD6003FE9A5 /* Make Document Icons */,
|
886 | 885 | 528DA6671426D456003380F1 /* Copy Scripts */,
|
887 | 886 | 52283AB71EBA200C00A6F6B9 /* Copy mvim scripts */,
|
|
1054 | 1053 | shellScript = "BINPATH=$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/bin\nmkdir -p \"${BINPATH}\"\ncp -a \"${SRCROOT}/mvim\" \"${BINPATH}/mvim\"\nchmod 755 \"${BINPATH}/mvim\"\n(cd \"${BINPATH}\"; for f in vim vimdiff view gvim gvimdiff gview mvimdiff mview; do ln -fs mvim $f; done)\n";
|
1055 | 1054 | showEnvVarsInLog = 0;
|
1056 | 1055 | };
|
| 1056 | + 9050374C2AAEFA2500E9846A /* Generate runtime folder list */ = { |
| 1057 | + isa = PBXShellScriptBuildPhase; |
| 1058 | + alwaysOutOfDate = 1; |
| 1059 | + buildActionMask = 2147483647; |
| 1060 | + files = ( |
| 1061 | + ); |
| 1062 | + inputFileListPaths = ( |
| 1063 | + ); |
| 1064 | + inputPaths = ( |
| 1065 | + ); |
| 1066 | + name = "Generate runtime folder list"; |
| 1067 | + outputFileListPaths = ( |
| 1068 | + ); |
| 1069 | + outputPaths = ( |
| 1070 | + "$(OBJROOT)/runtime_folder_list.xcfilelist", |
| 1071 | + ); |
| 1072 | + runOnlyForDeploymentPostprocessing = 0; |
| 1073 | + shellPath = /bin/sh; |
| 1074 | + shellScript = "# Generate a list of folders that will affect the runtime folder output, so\n# that incremental build can use it to only install them if the runtime folders\n# have changed. The main reason we have to manually generate it is because\n# Xcode's \"Input File Lists\" doesn't support recursion/wildcards.\n\nfind -s ../../runtime -type d > \"${OBJROOT}\"/runtime_folder_list_new.xcfilelist\n\nif cmp -s \"${OBJROOT}\"/runtime_folder_list.xcfilelist \"${OBJROOT}\"/runtime_folder_list_new.xcfilelist; then\n rm \"${OBJROOT}\"/runtime_folder_list_new.xcfilelist\nelse\n mv -f \"${OBJROOT}\"/runtime_folder_list_new.xcfilelist \"${OBJROOT}\"/runtime_folder_list.xcfilelist\nfi\n"; |
| 1075 | + showEnvVarsInLog = 0; |
| 1076 | + }; |
1057 | 1077 | 9099B3CA2914B272005C9F32 /* Clean up build */ = {
|
1058 | 1078 | isa = PBXShellScriptBuildPhase;
|
1059 | 1079 | alwaysOutOfDate = 1;
|
|
1074 | 1094 | shellScript = "./scripts/cleanup-after-build \"$BUILT_PRODUCTS_DIR/$WRAPPER_NAME\" \"$REMOVE_SPARKLE\"\n";
|
1075 | 1095 | showEnvVarsInLog = 0;
|
1076 | 1096 | };
|
1077 |
| - 90BD4EF224E0E8B700BF29F2 /* Copy locale message translation files */ = { |
| 1097 | + 90BD4EF224E0E8B700BF29F2 /* Copy Vim runtime / localization files */ = { |
1078 | 1098 | isa = PBXShellScriptBuildPhase;
|
1079 | 1099 | buildActionMask = 2147483647;
|
1080 | 1100 | files = (
|
1081 | 1101 | );
|
1082 | 1102 | inputFileListPaths = (
|
| 1103 | + $OBJROOT/runtime_folder_list.xcfilelist, |
1083 | 1104 | );
|
1084 | 1105 | inputPaths = (
|
| 1106 | + "$(SRCROOT)/../xxd/xxd", |
1085 | 1107 | "$(SRCROOT)/../po",
|
1086 | 1108 | );
|
1087 |
| - name = "Copy locale message translation files"; |
| 1109 | + name = "Copy Vim runtime / localization files"; |
1088 | 1110 | outputFileListPaths = (
|
1089 | 1111 | );
|
1090 | 1112 | outputPaths = (
|
1091 |
| - "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/vim/runtime/lang", |
| 1113 | + $TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/vim/runtime, |
1092 | 1114 | );
|
1093 | 1115 | runOnlyForDeploymentPostprocessing = 0;
|
1094 |
| - shellPath = /bin/sh; |
1095 |
| - shellScript = "# Copy all the locale translation files from the po folder to\n# runtime/lang/<lang>/LC_MESSAGES/vim.mo. Need to do this because unlike normal\n# Vim, MacVim is distributed as a standalone app package and therefore we don't\n# want to install these files to a global location (e.g.\n# /usr/local/share/locale/). This is similar to how Windows installation\n# (po/Make_mvc.mak) works.\ncd \"${SRCROOT}\"/..\nmake macvim-install-languages DEST_LANG=\"${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/vim/runtime/lang\"\n"; |
| 1116 | + shellPath = /bin/zsh; |
| 1117 | + shellScript = "# Copy the runtime files to the app bundle, under Resources/vim/runtime folder.\n# We cannot do a direct copy of the runtime folder as it contains misc test\n# scripts and also man pages and we should use the Vim's defined rules to\n# install them properly.\n\n# Note that this will also install man pages, under a \"man\" folder. This is\n# useful if the user really wants to point their man page to MacVim's verison\n# instead of builtin Vim, using MANPATH=/Applications/MacVim.app/Contents/man).\n\n# prefix: Reset to empty as it's set to /Applications for fallback rt-folder\n# VIMNAME: Use the default \"vim\" to make sure man pages use that instead of \"Vim\"\n# VIMRTDIR: Make sure to use \"runtime\" as by default it uses a \"vim90\" style folder which is mostly a relic.\n\ncd \"${SRCROOT}\"/..\nmake \\\n DESTDIR=\"${TARGET_BUILD_DIR}\" \\\n prefix= \\\n VIMNAME=vim \\\n VIMRTDIR=/runtime \\\n macvim-install-runtime\n\n# Also add man pages for \"mvim\"\nfor curdir in \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH\"/man/**/man1; do\n (cd $curdir; ln -f -s gvim.1 mvim.1)\ndone\n"; |
1096 | 1118 | showEnvVarsInLog = 0;
|
1097 | 1119 | };
|
1098 | 1120 | 90C052E1251E889500E2D81E /* Copy vimtutor */ = {
|
|
1112 | 1134 | outputPaths = (
|
1113 | 1135 | $BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/bin/vimtutor,
|
1114 | 1136 | $BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/bin/gvimtutor,
|
| 1137 | + $BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/bin/mvimtutor, |
1115 | 1138 | );
|
1116 | 1139 | runOnlyForDeploymentPostprocessing = 0;
|
1117 | 1140 | shellPath = /bin/sh;
|
1118 |
| - shellScript = "BINPATH=$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/bin\nmkdir -p \"${BINPATH}\"\ncp -a \"${SRCROOT}/../vimtutor\" \"${BINPATH}/vimtutor\"\ncp -a \"${SRCROOT}/../gvimtutor\" \"${BINPATH}/gvimtutor\"\nchmod 755 \"${BINPATH}/vimtutor\"\nchmod 755 \"${BINPATH}/gvimtutor\"\ncd \"${BINPATH}\"\nln -fs gvimtutor mvimtutor \n"; |
| 1141 | + shellScript = "# We could potentially use make installtutorbin installgtutorbin\n# but this works and we need to do the symlink anyway.\nBINPATH=$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/bin\nmkdir -p \"${BINPATH}\"\ncp -a \"${SRCROOT}/../vimtutor\" \"${BINPATH}/vimtutor\"\ncp -a \"${SRCROOT}/../gvimtutor\" \"${BINPATH}/gvimtutor\"\nchmod 755 \"${BINPATH}/vimtutor\"\nchmod 755 \"${BINPATH}/gvimtutor\"\ncd \"${BINPATH}\"\nln -fs gvimtutor mvimtutor \n"; |
1119 | 1142 | showEnvVarsInLog = 0;
|
1120 | 1143 | };
|
1121 | 1144 | /* End PBXShellScriptBuildPhase section */
|
|
0 commit comments