Add rules for individual localized sources
This commit is contained in:
parent
4025da1f9a
commit
f9749e44ff
2 changed files with 14 additions and 1 deletions
10
Makefile
10
Makefile
|
@ -4,9 +4,17 @@
|
|||
|
||||
SWG=swg
|
||||
|
||||
all: output/
|
||||
all: output/en/ output/pt/
|
||||
|
||||
en: output/en/
|
||||
|
||||
pt: output/pt/
|
||||
|
||||
output/en/: src/en/
|
||||
$(SWG) src/en/
|
||||
mv src/en/output output/en
|
||||
|
||||
output/pt/: src/pt/
|
||||
$(SWG) src/pt/
|
||||
mv src/pt/output output/pt
|
||||
|
||||
|
|
|
@ -27,3 +27,8 @@ To delete previously built pages, run the following command:
|
|||
```sh
|
||||
$ make clean
|
||||
```
|
||||
|
||||
You can also build the English version only with:
|
||||
```sh
|
||||
$ make en # or use `pt' to build Portuguese sources
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue