File: README.md

package info (click to toggle)
skkdic 20190217-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 34,308 kB
  • sloc: asm: 3,379; makefile: 244; lisp: 47; sh: 44
file content (69 lines) | stat: -rw-r--r-- 1,860 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# SKK dictionary files

Refer to the following URL for the distribution files.

https://skk-dev.github.io/dict/


# 辞書ファイルの編集

ChangeLog の記述には 「真鵺道」(まぬえど) を使います。

  - https://sundayresearch.eu/hitoshi/otherprojects/manued/index-j.html
  - https://github.com/yamauchih/manued


# 辞書ファイルの公開

## 配布用の gzip アーカイブを作る

`make archive` を実行すると、配布用の gzip ファイルを作ることができます。
この過程では `skktools` を用いて `csv/china_taiwan.csv` から `SKK-JISYO.china_taiwan` を
生成しているため、あらかじめ Ruby 処理系と `skktools` をインストールしておいてく
ださい。

具体的には、次のようにコマンドを実行すると、

```
$ make archive TOOLS_DIR=../github.skktools
```

カレントディレクトリに `SKK-JISYO.*.gz`, `SKK-JISYO.*.md5`, `zipdoce.*.gz`,
`zipdoce.*.md5` が生成されます。

これらのファイルは、いったん退避しておきましょう。

```
$ mv SKK-JISYO.*.gz ../
$ mv SKK-JISYO.*.md5 ../
$ mv zipdoce.*.gz ../
$ mv zipdoce.*.md5 ../
```

## make の副作用

`make archive` の実行過程で、いくつかのファイルが更新される場合があります。

```
$ git status

On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
        modified:   SKK-JISYO.L.unannotated
        modified:   SKK-JISYO.wrong
```

更新内容に問題がなければ、そのまま commit してください。

```
$ git add -u && git commit
```



## 配布用の gzip アーカイブをブランチ gh-pages に配置

さきほど退避しておいた `SKK-JISYO.*.gz`, `SKK-JISYO.*.md5`, `zipdoce.*.gz`, `zipdoce.*.md5` を
ブランチ gh-pages に mv して add && push します。