po/uk.po \
po/zh_CN.po
+LOCALPOFILES = po/cs.po po/en_GB.po
+
POTFILE=po/$(DOMAIN).pot
TRANSLATABLE_FILES = $(DIST_SOURCES) $(all_q_sources)
$(AM_V_at)$(XGETTEXT) --directory=$(top_srcdir) $(XGETTEXT_OPTIONS) -j src/ui/gui/gen-dot-desktop.sh --language=shell --keyword=TRANSLATE -o $@,tmp
$(AM_V_at)$(SED) -e '/^"POT-Creation-Date: .*/d' $@,tmp > $@
-$(POFILES): $(POTFILE)
+$(LOCALPOFILED) $(POFILES): $(POTFILE)
$(AM_V_GEN)$(MSGMERGE) --quiet $(top_srcdir)/$@ $? -o $@,tmp
$(AM_V_at)if test -e $(top_srcdir)/$@,aux ; then \
touch $@,tmp ; \
$(AM_V_GEN)$(MSGFMT) $< -o $@
-GMOFILES = $(POFILES:.po=.gmo)
+GMOFILES = $(LOCALPOFILES:.po=.gmo) $(POFILES:.po=.gmo)
ALL_LOCAL += $(GMOFILES)
EXTRA_DIST += \
+ $(LOCALPOFILES) \
$(POFILES) \
$(POTFILE) \
po/ChangeLog \
# the source directory.
po_CLEAN:
@if test "$(srcdir)" != .; then \
- echo rm -f $(POFILES); \
- rm -f $(POFILES); \
+ echo rm -f $(LOCALPOFILES) $(POFILES); \
+ rm -f $(LOCALPOFILES) $(POFILES); \
fi
CLEAN_LOCAL += po_CLEAN