diff options
| author | Michael Vogt <egon@top> | 2005-11-15 16:45:38 +0100 |
|---|---|---|
| committer | Michael Vogt <egon@top> | 2005-11-15 16:45:38 +0100 |
| commit | 6e2871c07ab6f7092c072d5eed264a22af340041 (patch) | |
| tree | fdd58eb27c038c145ee3b9f606a3e8a800699f3a | |
| parent | 949a7e408b9e77aeaed979a3c30c3d17829596d1 (diff) | |
| download | python-apt-6e2871c07ab6f7092c072d5eed264a22af340041.tar.gz | |
* added more missing bits
| -rw-r--r-- | po/Makefile | 16 | ||||
| -rwxr-xr-x | setup.py | 2 |
2 files changed, 17 insertions, 1 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 @@ -14,7 +14,7 @@ for filepath in glob.glob("po/mo/*/LC_MESSAGES/*.mo"): # HACK: make sure that the mo files are generated and up-to-date os.system("cd po; make update-po") # do the same for the desktop files -os.system("cd date; make") +os.system("cd data; make") # and channels os.system("cd channels; make") |
