[gimp-help-2] [make] Construct quickreference PO_FILES automatically
- From: Ulf-D. Ehlert <ulfehlert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help-2] [make] Construct quickreference PO_FILES automatically
- Date: Sat, 2 Jun 2012 12:47:17 +0000 (UTC)
commit 3fc5b54ed34c4009718b33666639822d246c25c3
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date: Sat Jun 2 12:32:24 2012 +0200
[make] Construct quickreference PO_FILES automatically
quickreference/Makefile.am | 21 +++++----------------
1 files changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/quickreference/Makefile.am b/quickreference/Makefile.am
index 121e6cb..3ce0e97 100644
--- a/quickreference/Makefile.am
+++ b/quickreference/Makefile.am
@@ -1,24 +1,12 @@
## Process this file with automake to produce Makefile.in
ALL_LINGUAS ?= de el en es fr it ja ko nl nn pl ru sl sv zh_CN
-QUICKREFERENCE_ALL_LINGUAS ?= de el en fi fr it ja ko ru sl sv zh_CN
+QUICKREFERENCE_ALL_LINGUAS ?= ca de el en fi fr it ja ko ru sv zh_CN
QUICKREFERENCE_LINGUAS = $(filter $(ALL_LINGUAS), $(QUICKREFERENCE_ALL_LINGUAS))
-PO_FILES = \
- po/gimp-keys.pot\
- po/de.po \
- po/el.po \
- po/es.po \
- po/fi.po \
- po/fr.po \
- po/it.po \
- po/ja.po \
- po/ko.po \
- po/nn.po \
- po/sl.po \
- po/sv.po \
- po/ru.po \
- po/zh_CN.po
+POT_FILES = po/gimp-keys.pot
+
+PO_FILES = $(foreach lang,$(filter-out en,$(QUICKREFERENCE_ALL_LINGUAS)),po/$(lang).po)
XSL_FILES = \
stylesheets/keys-svg.xsl \
@@ -31,6 +19,7 @@ TEMPLATES = \
EXTRA_DIST = \
gimp-keys.xml \
+ $(POT_FILES) \
$(PO_FILES) \
$(XSL_FILES) \
$(TEMPLATES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]