File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
MASTER_PO = ja.po
2
+
2
3
MOFILES = ja.mo \
3
4
ja.euc-jp.mo \
4
5
ja.sjis.mo
6
+
5
7
CHECKFILES = ja.ck \
6
8
ja.euc-jp.ck \
7
9
ja.sjis.ck
@@ -10,7 +12,7 @@ MSGFMT = OLD_PO_FILE_INPUT=yes msgfmt
10
12
11
13
.SUFFIXES : .po .mo .ck
12
14
13
- test : $( MOFILES ) $(CHECKFILES )
15
+ test : check $(MOFILES )
14
16
15
17
update : ja.sjis.po ja.euc-jp.po
16
18
@@ -41,10 +43,10 @@ merge-force:
41
43
touch vim.pot
42
44
@$(MAKE ) merge
43
45
44
- clean :
46
+ clean : checkclean
45
47
rm -f sjiscorr sjiscorr.exe
46
48
rm -f ja.sjis.po ja.euc-jp.po
47
- rm -f * .mo * .ck
49
+ rm -f * .mo
48
50
49
51
# ja.po: vim.pot
50
52
@@ -55,5 +57,11 @@ clean:
55
57
$(MSGFMT ) -v -o $@ $<
56
58
57
59
.po.ck :
58
- vim -u NONE -e -X -S check.vim -c " if error == 0 | q | endif" -c cq $<
60
+ vim -u NONE --noplugins -e -s -X --cmd " set enc=utf-8" -S check.vim \
61
+ -c " if error == 0 | q | else | num 2 | cq | endif" $<
59
62
touch $@
63
+
64
+ check : $(CHECKFILES )
65
+
66
+ checkclean :
67
+ rm -f * .ck
You can’t perform that action at this time.
0 commit comments