summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-19 22:33:23 +0000
committerzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-19 22:33:23 +0000
commiteb47ef512af09fc4d05a1c49f8b1cee999d8032c (patch)
tree81c076d074e2a68ae91333263dfb887a9dc673fb
parentdb5469ce05953174cc07d706c9dcaa2487daf11d (diff)
downloadnavit-eb47ef512af09fc4d05a1c49f8b1cee999d8032c.tar.gz
FIX:build:Do not hold generated/autoupdated files in the svn|
Rename po/*.in to po/*.po.in. .po are generated from po.in, then the .mo is generated from .po file, the same way like working with build dir. Generated .po files are only cleaned on distclean. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1518 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--configure.in4
-rw-r--r--po/Makefile.am11
-rw-r--r--po/bg.po.in (renamed from po/bg.po)0
-rw-r--r--po/cs.po.in (renamed from po/cs.po)0
-rw-r--r--po/da.po.in (renamed from po/da.po)0
-rw-r--r--po/de.po.in (renamed from po/de.po)0
-rw-r--r--po/en_GB.po.in (renamed from po/en_GB.po)0
-rw-r--r--po/es.po.in (renamed from po/es.po)0
-rw-r--r--po/fi.po.in (renamed from po/fi.po)0
-rw-r--r--po/fr.po.in (renamed from po/fr.po)0
-rw-r--r--po/he.po.in (renamed from po/he.po)0
-rw-r--r--po/hu.po.in (renamed from po/hu.po)0
-rw-r--r--po/it.po.in (renamed from po/it.po)0
-rw-r--r--po/ja.po.in (renamed from po/ja.po)0
-rw-r--r--po/nb.po.in (renamed from po/nb.po)0
-rw-r--r--po/nl.po.in (renamed from po/nl.po)0
-rw-r--r--po/pl.po.in (renamed from po/pl.po)0
-rw-r--r--po/pt.po.in (renamed from po/pt.po)0
-rw-r--r--po/pt_BR.po.in (renamed from po/pt_BR.po)0
-rw-r--r--po/ro.po.in (renamed from po/ro.po)0
-rw-r--r--po/ru.po.in (renamed from po/ru.po)0
-rw-r--r--po/sk.po.in (renamed from po/sk.po)0
-rw-r--r--po/sl.po.in (renamed from po/sl.po)0
-rw-r--r--po/sv.po.in (renamed from po/sv.po)0
-rw-r--r--po/te.po.in (renamed from po/te.po)0
-rw-r--r--po/th.po.in (renamed from po/th.po)0
-rw-r--r--po/tr.po.in (renamed from po/tr.po)0
-rw-r--r--po/zh_HK.po.in (renamed from po/zh_HK.po)0
28 files changed, 4 insertions, 11 deletions
diff --git a/configure.in b/configure.in
index f22e19f84..96798f6a3 100644
--- a/configure.in
+++ b/configure.in
@@ -557,9 +557,9 @@ if test x$enable_nls = xyes; then
if test "$XGETTEXT" != "" -a "$HAVEGETTEXT" != ""; then
PO=""
if test "$LINGUAS" = ""; then
- ling=` (cd $srcdir/po; /bin/ls *.po) `
+ ling=` (cd $srcdir/po; /bin/ls *.po.in) `
for l in $ling; do
- lcode=`basename $l .po`
+ lcode=`basename $l .po.in`
LINGUAS="$LINGUAS$lcode "
done
fi
diff --git a/po/Makefile.am b/po/Makefile.am
index bfac6ede9..0e9a18cad 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -27,12 +27,7 @@ SUFFIXES = .po .mo
all: @MOFILES@
@POFILES@: navit.pot
- if test "$(top_srcdir)" != "$(top_builddir)"; then \
- $(MSGMERGE) --no-fuzzy-matching --verbose -o $(top_builddir)/po/$@ $(top_srcdir)/po/$@ navit.pot; \
- else \
- $(MSGMERGE) --no-fuzzy-matching --update --verbose $@ navit.pot; \
- fi
-
+ $(MSGMERGE) --no-fuzzy-matching --verbose -o $(top_builddir)/po/$@ $(top_srcdir)/po/$@.in navit.pot
navit.pot: $(POTFILES)
$(XGETTEXT) --default-domain=navit \
@@ -69,8 +64,6 @@ distclean-local:
if test "$$n" -a "$$n" != "__DuMmY" ; then \
l=`basename $$n .mo`; \
rm -f ../locale/$$l/LC_MESSAGES/navit.mo; \
- if test "$(top_srcdir)" != "$(top_builddir)"; then \
- rm -f $$l.po; \
- fi;\
+ rm -f $$l.po; \
fi; \
done
diff --git a/po/bg.po b/po/bg.po.in
index 8b3d19caf..8b3d19caf 100644
--- a/po/bg.po
+++ b/po/bg.po.in
diff --git a/po/cs.po b/po/cs.po.in
index 4561efea9..4561efea9 100644
--- a/po/cs.po
+++ b/po/cs.po.in
diff --git a/po/da.po b/po/da.po.in
index 247a5da9e..247a5da9e 100644
--- a/po/da.po
+++ b/po/da.po.in
diff --git a/po/de.po b/po/de.po.in
index a8ef9b292..a8ef9b292 100644
--- a/po/de.po
+++ b/po/de.po.in
diff --git a/po/en_GB.po b/po/en_GB.po.in
index 91b5b002f..91b5b002f 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po.in
diff --git a/po/es.po b/po/es.po.in
index 8ab5b1f69..8ab5b1f69 100644
--- a/po/es.po
+++ b/po/es.po.in
diff --git a/po/fi.po b/po/fi.po.in
index 6d3ce2d7b..6d3ce2d7b 100644
--- a/po/fi.po
+++ b/po/fi.po.in
diff --git a/po/fr.po b/po/fr.po.in
index 3efcbaa9c..3efcbaa9c 100644
--- a/po/fr.po
+++ b/po/fr.po.in
diff --git a/po/he.po b/po/he.po.in
index 6b6c543f3..6b6c543f3 100644
--- a/po/he.po
+++ b/po/he.po.in
diff --git a/po/hu.po b/po/hu.po.in
index 34e5c0a3f..34e5c0a3f 100644
--- a/po/hu.po
+++ b/po/hu.po.in
diff --git a/po/it.po b/po/it.po.in
index 9f14c19bb..9f14c19bb 100644
--- a/po/it.po
+++ b/po/it.po.in
diff --git a/po/ja.po b/po/ja.po.in
index be29292ce..be29292ce 100644
--- a/po/ja.po
+++ b/po/ja.po.in
diff --git a/po/nb.po b/po/nb.po.in
index 7bb23f006..7bb23f006 100644
--- a/po/nb.po
+++ b/po/nb.po.in
diff --git a/po/nl.po b/po/nl.po.in
index ded8d571e..ded8d571e 100644
--- a/po/nl.po
+++ b/po/nl.po.in
diff --git a/po/pl.po b/po/pl.po.in
index 93d769bb9..93d769bb9 100644
--- a/po/pl.po
+++ b/po/pl.po.in
diff --git a/po/pt.po b/po/pt.po.in
index 658d06425..658d06425 100644
--- a/po/pt.po
+++ b/po/pt.po.in
diff --git a/po/pt_BR.po b/po/pt_BR.po.in
index cbf37d9c1..cbf37d9c1 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po.in
diff --git a/po/ro.po b/po/ro.po.in
index 22ba4f08d..22ba4f08d 100644
--- a/po/ro.po
+++ b/po/ro.po.in
diff --git a/po/ru.po b/po/ru.po.in
index 9257a625f..9257a625f 100644
--- a/po/ru.po
+++ b/po/ru.po.in
diff --git a/po/sk.po b/po/sk.po.in
index 0e66f9d91..0e66f9d91 100644
--- a/po/sk.po
+++ b/po/sk.po.in
diff --git a/po/sl.po b/po/sl.po.in
index 8063ce8d4..8063ce8d4 100644
--- a/po/sl.po
+++ b/po/sl.po.in
diff --git a/po/sv.po b/po/sv.po.in
index a5e637ca3..a5e637ca3 100644
--- a/po/sv.po
+++ b/po/sv.po.in
diff --git a/po/te.po b/po/te.po.in
index bc0ab6f64..bc0ab6f64 100644
--- a/po/te.po
+++ b/po/te.po.in
diff --git a/po/th.po b/po/th.po.in
index ac0718751..ac0718751 100644
--- a/po/th.po
+++ b/po/th.po.in
diff --git a/po/tr.po b/po/tr.po.in
index e341b6c57..e341b6c57 100644
--- a/po/tr.po
+++ b/po/tr.po.in
diff --git a/po/zh_HK.po b/po/zh_HK.po.in
index a25f5ef74..a25f5ef74 100644
--- a/po/zh_HK.po
+++ b/po/zh_HK.po.in