Skip to content

Commit c60a980

Browse files
committed
📚 翻訳を行うためのセットアップ方法を追加
1 parent 2e23546 commit c60a980

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

Makefile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
PHD_REPO=https://github.com/php/phd.git
2+
DOC_BASE_REPO=https://github.com/php/doc-base.git
3+
DOC_EN_REPO=https://github.com/php/doc-en.git
4+
DOC_JA_REPO=https://github.com/php/doc-ja.git
5+
OUTPUT_DIR=output/php-chunked-xhtml
6+
7+
setup:
8+
@if [ ! -d "phd" ]; then \
9+
echo "Cloning phd..."; \
10+
git clone $(PHD_REPO); \
11+
else \
12+
echo "phd already cloned."; \
13+
fi
14+
@if [ ! -d "doc-base" ]; then \
15+
echo "Cloning doc-base..."; \
16+
git clone $(DOC_BASE_REPO); \
17+
else \
18+
echo "doc-base already cloned."; \
19+
fi
20+
@if [ ! -d "en" ]; then \
21+
echo "Cloning doc-en..."; \
22+
git clone $(DOC_EN_REPO) en; \
23+
else \
24+
echo "doc-en already cloned."; \
25+
fi
26+
@if [ ! -d "ja" ]; then \
27+
echo "Cloning doc-ja..."; \
28+
git clone $(DOC_JA_REPO) ja; \
29+
else \
30+
echo "doc-ja already cloned."; \
31+
fi
32+
133
build:
234
php doc-base/configure.php --with-lang=ja
335

0 commit comments

Comments
 (0)