Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 829aa71

Browse files
timmy0123rockleona
andauthored
Add make build on README (#910)
* add make build way in readme * fix syntax error * add make build description * add annotation of make build * Update Makefile Co-authored-by: RockLeon <[email protected]> --------- Co-authored-by: RockLeon <[email protected]>
1 parent b7cc6ec commit 829aa71

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Here is what you can do:
44
#
55
# - make all # Automatically build an html local version
6+
# - make build # To build a single .po file
67
# - make todo # To list remaining tasks
78
# - make merge # To merge pot from upstream
89
# - make fuzzy # To find fuzzy strings

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ the PSF for inclusion in the documentation.
150150

151151
確保輸出中沒有任何關於正在翻譯的檔案的警告訊息。
152152

153+
在 ``make all`` 後,可以使用 ``make build`` 來只對單一 ``.po`` 檔進行編譯,可以節省較多的時間 ::
154+
155+
VERSION=3.12 make build glossary.po
156+
153157
如果你還沒有執行 `維護、預覽`_ 的 clone CPython 的動作,此指令會自動幫你 clone CPython,\
154158
並且會使用 Sphinx 幫你檢查 reST 語法錯誤,我們盡量保持沒有 warning \
155159
的狀態,因此如果有出現 warning 的話請修復它。另外也記得檢查是否符合\

0 commit comments

Comments
 (0)