summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorMichael Vogt <egon@top>2005-11-15 16:45:38 +0100
committerMichael Vogt <egon@top>2005-11-15 16:45:38 +0100
commit6e2871c07ab6f7092c072d5eed264a22af340041 (patch)
treefdd58eb27c038c145ee3b9f606a3e8a800699f3a /po
parent949a7e408b9e77aeaed979a3c30c3d17829596d1 (diff)
downloadpython-apt-6e2871c07ab6f7092c072d5eed264a22af340041.tar.gz
* added more missing bits
Diffstat (limited to 'po')
-rw-r--r--po/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/po/Makefile b/po/Makefile
new file mode 100644
index 00000000..326de934
--- /dev/null
+++ b/po/Makefile
@@ -0,0 +1,16 @@
+
+DOMAIN=update-manager
+PO_FILES := $(wildcard *.po)
+
+update-po: $(DOMAIN).pot $(patsubst %.po,%.mo,$(wildcard *.po))
+ # update the po files
+ for f in $(PO_FILES); do \
+ intltool-update -r $${f%.po} -g $(DOMAIN); \
+ done
+
+$(DOMAIN).pot:
+ intltool-update -p -g $(DOMAIN)
+
+%.mo : %.po
+ mkdir -p mo/$(subst .po,,$<)/LC_MESSAGES/
+ msgfmt $< -o mo/$(subst .po,,$<)/LC_MESSAGES/$(DOMAIN).mo