summaryrefslogtreecommitdiff
path: root/Architecture_and_Design/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Architecture_and_Design/Makefile')
-rw-r--r--Architecture_and_Design/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Architecture_and_Design/Makefile b/Architecture_and_Design/Makefile
index 3def933..b8b9a4d 100644
--- a/Architecture_and_Design/Makefile
+++ b/Architecture_and_Design/Makefile
@@ -1,8 +1,12 @@
PACKAGE = "Architecture_and_Design"
all: clean clean_ids
- publican build --embedtoc --publish --langs=all --formats=html,html-single,pdf
- publican install_book --site_config=../site.cfg --lang=en-US
+ @publican update_pot
+ @publican update_po --langs=all
+ @publican build --embedtoc --publish --langs=all --formats=html,html-single,pdf
+ @for lang in $$(ls -d *-*/); do \
+ publican install_book --site_config=../site.cfg --lang=$$lang; \
+ done
clean:
@publican clean
@@ -20,3 +24,7 @@ clean_ids:
# Additional quick build targets
pdf: clean clean_ids
@publican build --embedtoc --publish --langs=en-US --formats=pdf
+
+add-language:
+ @publican update_pot
+ @publican update_po --langs=$(LANGUAGE)