diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-02-15 21:27:30 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-02-15 21:27:30 +0000 |
commit | fb2042cdc1baa283c29e6fb90817094cfc296883 (patch) | |
tree | 21ca901bbd8f445948258facca7be6f6d3533de2 /po | |
parent | 4349484c6a90743913b92ba5dcefa1f061912322 (diff) | |
download | quilt-fb2042cdc1baa283c29e6fb90817094cfc296883.tar.gz |
Some I18N fixes
Diffstat (limited to 'po')
-rw-r--r-- | po/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/po/Makefile b/po/Makefile index fd880c4..96cc828 100644 --- a/po/Makefile +++ b/po/Makefile @@ -7,8 +7,10 @@ TO_PARSE= $(foreach f,$(QUILT_IN),../quilt/$(f).in) \ $(foreach f,$(SCRIPTS_IN),../scripts/$(f).in) \ ../bin/quilt.in +# LINGUAS = ... +# localedir = ... -all: fr.mo +all: $(LINGUAS:%=%.mo) %.mo : %.po msgfmt --statistics -o $@ $< @@ -28,7 +30,10 @@ clean: rm -f *.mo *~ install: all - install -d $(BUILD_ROOT)/usr/share/locale/fr/LC_MESSAGES - install -m644 fr.mo $(BUILD_ROOT)/usr/share/locale/fr/LC_MESSAGES/quilt.mo + for lang in $(LINGUAS) ; do \ + install -d $(BUILD_ROOT)$(localedir)/$$lang/LC_MESSAGES ; \ + install -m 644 $$lang.mo \ + $(BUILD_ROOT)$(localedir)/$$lang/LC_MESSAGES/quilt.mo ; \ + done .PHONY: install clean all |