Skip to content

Commit 53524e9

Browse files
committed
New target import-scripts
import and update the .po file management scripts from the Vim source tree.
1 parent b53bbc7 commit 53524e9

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VIM_SRC_DIR =
77

88
INSTALL_DIR = $(ARCHIVE)-runtime
99

10-
.PHONY: import-en-files update-src-dir \
10+
.PHONY: import-en-files import-scripts update-src-dir \
1111
archive archive-dir release release-today test install clean distclean \
1212
force-update-all force-update-po force-update-lang force-update-tutor
1313

@@ -27,6 +27,13 @@ import-en-files:
2727
cp "$(VIM_SRC_DIR)"/runtime/tutor/tutor2 runtime/tutor/
2828
cp "$(VIM_SRC_DIR)"/nsis/lang/english.nsi nsis/lang/
2929

30+
# Import and update the .po file management scripts from the Vim source tree.
31+
import-scripts:
32+
@if test ! -d "$(VIM_SRC_DIR)"; then echo VIM_SRC_DIR not specified; exit 1; fi
33+
cp "$(VIM_SRC_DIR)"/src/po/check.vim \
34+
"$(VIM_SRC_DIR)"/src/po/cleanup.vim \
35+
src/po/
36+
3037
# Update Vim source directory.
3138
update-src-dir:
3239
@if test ! -d "$(VIM_SRC_DIR)"; then echo VIM_SRC_DIR not specified; exit 1; fi

0 commit comments

Comments
 (0)