diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-01-29 13:26:45 +0100 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-03-31 00:29:27 +0200 |
| commit | aa0c8434aebeb7df775bf30330ab683a676cdba0 (patch) | |
| tree | 43bddfda01064dbf9fabcfa985180fee77b8b272 /po | |
| parent | 1e198bfb36fa1ec5ec4ad5b14e9a73216d27086b (diff) | |
| download | enigma2-aa0c8434aebeb7df775bf30330ab683a676cdba0.tar.gz enigma2-aa0c8434aebeb7df775bf30330ab683a676cdba0.zip | |
fixes bug #425
enigma2.pot and the .po files are not built by default any more. instead you have to initiate a make rebuild manually.
the plan is to update the po/ directory automatically with a cumulated set of messages gathered from different e2 branches and e2 plugins.
Diffstat (limited to 'po')
| -rwxr-xr-x | po/Makefile.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/po/Makefile.am b/po/Makefile.am index 9ca79016..ba044409 100755 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -9,11 +9,13 @@ LANGS := $(shell cat $(srcdir)/LINGUAS) LANGPO := $(foreach LANG, $(LANGS),$(LANG).po) LANGMO := $(foreach LANG, $(LANGS),$(LANG).mo) -default: enigma2.pot $(LANGPO) merge $(LANGMO) +default: enigma2.pot $(LANGMO) for lang in $(LANGS); do \ mkdir -p $$lang/LC_MESSAGES; \ cp $$lang.mo $$lang/LC_MESSAGES/enigma2.mo; \ done + +rebuild: clean cleanall enigma2.pot $(LANGPO) merge default merge: for lang in $(LANGS); do \ @@ -37,9 +39,6 @@ enigma2.pot: $(RM) enigma2.pot mv enigma2uniq.pot enigma2.pot -.PHONY: enigma2.pot - - %.mo: %.po $(MSGFMT) -o $@ $< @@ -48,6 +47,9 @@ enigma2.pot: CLEANFILES = $(foreach LANG, $(LANGS),$(LANG).mo) +cleanall: + $(RM) enigma2.pot + clean-local: $(RM) -r $(LANGS) |
