summaryrefslogtreecommitdiff
path: root/Release_Notes
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 /Release_Notes
parent232cb6a80ac58e296aac9f4ed82ac73232a5a63c (diff)
downloadkolab-docs-757b1d1e8bd3682a6634802b9de50755a8684da9.tar.gz
Update Makefiles to allow adding languages and doing all sorts of other magic
Diffstat (limited to 'Release_Notes')
-rw-r--r--Release_Notes/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Release_Notes/Makefile b/Release_Notes/Makefile
index e877174..fb2999f 100644
--- a/Release_Notes/Makefile
+++ b/Release_Notes/Makefile
@@ -1,8 +1,12 @@
PACKAGE = "Release_Notes"
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
@@ -15,3 +19,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)