[Xfce4-commits] <terminal:master> Drop the LINGUAS file for po-doc too.
Nick Schermer
nick at xfce.org
Wed Aug 19 22:10:04 CEST 2009
Updating branch refs/heads/master
to 5389a982039c895edea5610e869adbee9607eab3 (commit)
from b03b89faa9f7aff335bd56f0bcfb50dbdf140187 (commit)
commit 5389a982039c895edea5610e869adbee9607eab3
Author: Nick Schermer <nick at xfce.org>
Date: Wed Aug 19 22:08:38 2009 +0200
Drop the LINGUAS file for po-doc too.
po-doc/LINGUAS | 2 --
po-doc/Makefile.am | 4 ++--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/po-doc/LINGUAS b/po-doc/LINGUAS
deleted file mode 100644
index 27a1c1b..0000000
--- a/po-doc/LINGUAS
+++ /dev/null
@@ -1,2 +0,0 @@
-# Set of languages supported
-da fr gl id ja
diff --git a/po-doc/Makefile.am b/po-doc/Makefile.am
index e496e92..5c6d355 100644
--- a/po-doc/Makefile.am
+++ b/po-doc/Makefile.am
@@ -63,14 +63,14 @@ $(PACKAGE).pot: $(docdir)/C/$(PACKAGE).xml.in
update-po: Makefile $(PACKAGE).pot
@echo "*** Updating PO ***"
- langs=`sed -e '/^#/d' $(srcdir)/LINGUAS`; \
+ langs=`cd "$(srcdir)/" 2>/dev/null && ls *.po 2>/dev/null | awk 'BEGIN { FS="."; ORS=" " } { print $$1 }'`; \
for lang in $$langs; do \
$(XML2PO) -u $$lang.po $(docdir)/C/$(PACKAGE).xml.in; \
done
update-xml: Makefile $(PACKAGE).pot
@echo "*** Updating XML ***"
- langs=`sed -e '/^#/d' $(srcdir)/LINGUAS`; \
+ langs=`cd "$(srcdir)/" 2>/dev/null && ls *.po 2>/dev/null | awk 'BEGIN { FS="."; ORS=" " } { print $$1 }'`; \
for lang in $$langs; do \
if test -n $(docdir)/$$lang; then \
mkdir -p $(docdir)/$$lang; \
More information about the Xfce4-commits
mailing list