]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Translation fixes.
authorSimon Josefsson <simon@josefsson.org>
Sun, 13 Apr 2008 11:25:45 +0000 (13:25 +0200)
committerSimon Josefsson <simon@josefsson.org>
Sun, 13 Apr 2008 11:25:45 +0000 (13:25 +0200)
Makefile.am
cfg.mk

index 74df98f8dfa763047fc0067ad02b9b002cf98e6d..f4d08a49b7dfa93866ca4f0604ab288515706594 100644 (file)
@@ -32,10 +32,6 @@ ACLOCAL_AMFLAGS = -I m4 -I gl/m4 -I lgl/m4
 
 # Maintainer targets
 
-update-po: refresh-po
-       -cg-add `ls po/*.po | grep -v quot.po`
-       cg-commit -m "Sync with TP." po/LINGUAS `ls po/*.po | grep -v quot.po`
-
 ChangeLog:
        git log --pretty --numstat --summary --since="2005 November 07" -- | git2cl > ChangeLog
        cat .cvscopying >> ChangeLog
diff --git a/cfg.mk b/cfg.mk
index ffcb546ef296e5263b0c091a0cdb2945e496cdc8..ba3a9b310698d6e8822168564d5a9039d7c6a190 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -27,10 +27,20 @@ ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile)
 endif
 
 autoreconf:
+       for f in po/*.po.in; do; \
+               cp $f `echo $f | sed 's/.in//'`; \
+       done
        mv build-aux/config.rpath build-aux/config.rpath-
        test -f ./configure || autoreconf --install
        mv build-aux/config.rpath- build-aux/config.rpath
 
+update-po: refresh-po
+       for f in `ls po/*.po | grep -v quot.po`; do \
+               cp $$f $$f.in; \
+       done
+       git-add po/*.po.in
+       git-commit -m "Sync with TP." po/LINGUAS po/*.po.in
+
 bootstrap: autoreconf
        ./configure $(CFGFLAGS)