From cb64d587d9534c41a0976d4b316ea20b26232790 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Mon, 1 Nov 2010 17:23:53 +0100 Subject: configure: disable updates of po files if --without-po is given --- po/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'po') diff --git a/po/Makefile.am b/po/Makefile.am index 53e65ae8..e7318f77 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -6,6 +6,7 @@ LANGPO = $(LANGS:=.po) EXTRA_DIST = $(LANGPO) +if UPDATE_PO # the TRANSLATORS: allows putting translation comments before the to-be-translated line. enigma2-py.pot: $(top_srcdir)/*.py $(top_srcdir)/lib/python/*/*.py $(top_srcdir)/lib/python/Plugins/*/*/*.py $(XGETTEXT) -L Python --from-code=UTF-8 --add-comments="TRANSLATORS:" -d @PACKAGE_NAME@ -s -o $@ $^ @@ -22,6 +23,7 @@ enigma2.pot: enigma2-py.pot enigma2-xml.pot else \ $(MSGINIT) -l $@ -o $@ -i $< --no-translator; \ fi +endif .po.mo: $(MSGFMT) -o $@ $< -- cgit v1.2.3