File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 88/sjiscorr
99/sjiscorr.exe
1010/vim.pot
11+ /vim-lang-ja-po * .tar.gz
12+ /vim-lang-ja-po * .tar.bz2
13+ /vim-lang-ja-po * .tar.xz
Original file line number Diff line number Diff line change 1+ ARCHIVE = vim-lang-ja-po
2+ ARCHIVE_EXT = xz
3+ ARCHIVE_DIR = $(ARCHIVE )
4+ ARCHIVE_FILE = $(ARCHIVE ) .tar.$(ARCHIVE_EXT )
5+
16MASTER_PO = ja.po
27
8+ POFILES = ja.po \
9+ ja.euc-jp.po \
10+ ja.sjis.po
11+
312MOFILES = ja.mo \
413 ja.euc-jp.mo \
514 ja.sjis.mo
@@ -16,6 +25,15 @@ VIM = vim
1625
1726test : check $(MOFILES )
1827
28+ release :
29+ @rm -rf $(ARCHIVE_DIR ) $(ARCHIVE_FILE )
30+ $(MAKE ) test
31+ $(MAKE ) $(ARCHIVE_FILE )
32+ rm -rf $(ARCHIVE_DIR )
33+
34+ release-today :
35+ $(MAKE ) release ARCHIVE=vim-lang-ja-po-` date +%Y%m%d`
36+
1937update : ja.sjis.po ja.euc-jp.po
2038
2139ja.sjis.po : $(MASTER_PO )
@@ -50,6 +68,9 @@ clean: checkclean
5068 rm -f ja.sjis.po ja.euc-jp.po
5169 rm -f * .mo
5270
71+ distclean : clean
72+ rm -f * .tar.bz2 * .tar.gz * .tar.xz
73+
5374# ja.po: vim.pot
54755576@@ -67,3 +88,16 @@ check: $(CHECKFILES)
6788
6889checkclean :
6990 rm -f * .ck
91+
92+ $(ARCHIVE_DIR ) : $(POFILES )
93+ mkdir -p $@ /src/po
94+ cp $(POFILES ) $@ /src/po
95+
96+ $(ARCHIVE ) .tar.gz : $(ARCHIVE_DIR )
97+ tar -czf $@ $<
98+
99+ $(ARCHIVE ) .tar.bz2 : $(ARCHIVE_DIR )
100+ tar -cjf $@ $<
101+
102+ $(ARCHIVE ) .tar.xz : $(ARCHIVE_DIR )
103+ tar -cJf $@ $<
You can’t perform that action at this time.
0 commit comments