diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 17:01:01 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 17:01:01 +0000 |
commit | 3811262056f8c09dbf22539133d3c04718beedb0 (patch) | |
tree | 7e6dd437754743eb8234d16e2010d6aec3f5d0da | |
parent | 2b8260e2c0d7841582c931b8aea6280d81e167d0 (diff) | |
download | apt-3811262056f8c09dbf22539133d3c04718beedb0.tar.gz |
Add update-po from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Author: jgg
Date: 2003-02-19 06:51:18 GMT
Add update-po from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-rw-r--r-- | po/makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/po/makefile b/po/makefile index 0916f2373..bb8118c77 100644 --- a/po/makefile +++ b/po/makefile @@ -64,6 +64,15 @@ stats: binary: $(POTFILES) $(PACKAGE)-all.pot $(MOFILES) +.PHONY: update-po +update-po: $(PACKAGE)-all.pot + for lang in ${LINGUAS}; do\ + echo "Updating $$lang.po"; \ + $(MSGMERGE) $$lang.po $(PACKAGE)-all.pot -o $$lang.new.po; \ + cmp $$lang.new.po $$lang.po || cp $$lang.new.po $$lang.po; \ + rm -f $$lang.new.po; \ + done + clean: clean/local clean/local: rm -f $(MOFILES) $(LANG_POFILES) $(PO)/*.d |