aboutsummaryrefslogtreecommitdiff
path: root/po/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'po/Makefile.am')
-rwxr-xr-xpo/Makefile.am10
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)