diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-08-13 10:19:22 (GMT) |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-08-13 10:19:22 (GMT) |
commit | 757b1d1e8bd3682a6634802b9de50755a8684da9 (patch) | |
tree | 21c484be415bf7194808b25f5f5821a9b74c5e7c /Deployment_Guide | |
parent | 232cb6a80ac58e296aac9f4ed82ac73232a5a63c (diff) | |
download | kolab-docs-757b1d1e8bd3682a6634802b9de50755a8684da9.tar.gz |
Update Makefiles to allow adding languages and doing all sorts of other magic
Diffstat (limited to 'Deployment_Guide')
-rw-r--r-- | Deployment_Guide/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Deployment_Guide/Makefile b/Deployment_Guide/Makefile index a9a0067..4d4a1ea 100644 --- a/Deployment_Guide/Makefile +++ b/Deployment_Guide/Makefile @@ -1,8 +1,12 @@ PACKAGE = "Deployment_Guide" 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 @@ -16,3 +20,7 @@ clean_ids: -e 's/((\s{4})+)\s*/\1/g' \ -e 's/\s*$$//g' \ `find en-US/ -type f -name "*.xml"` + +add-language: + @publican update_pot + @publican update_po --langs=$(LANGUAGE) |