summaryrefslogtreecommitdiff
path: root/Architecture_and_Design
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-13 10:19:22 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-13 10:19:22 (GMT)
commit757b1d1e8bd3682a6634802b9de50755a8684da9 (patch)
tree21c484be415bf7194808b25f5f5821a9b74c5e7c /Architecture_and_Design
parent232cb6a80ac58e296aac9f4ed82ac73232a5a63c (diff)
downloadkolab-docs-757b1d1e8bd3682a6634802b9de50755a8684da9.tar.gz
Update Makefiles to allow adding languages and doing all sorts of other magic
Diffstat (limited to 'Architecture_and_Design')
-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)