Add rules for individual localized sources

This commit is contained in:
luca0N! 2024-03-17 14:08:06 -03:00
parent 4025da1f9a
commit f9749e44ff
Signed by: luca0N
GPG Key ID: 5978D960572B449E
2 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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
```