summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-10-30 18:25:32 +0100
committerSimon Josefsson <simon@josefsson.org>2008-10-30 18:25:32 +0100
commit6fb327d16a07bcfd92259b5f9d4ef3632324e40d (patch)
treeac6f256a305ff9336a84fb32c233b7a8ece1fff5
parent6b7028518612086a37378525daace262b7f66bbe (diff)
downloadgnutls-6fb327d16a07bcfd92259b5f9d4ef3632324e40d.tar.gz
Fix i18n stuff.
-rw-r--r--cfg.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/cfg.mk b/cfg.mk
index fd04a90a61..077bc4c7ac 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -26,8 +26,10 @@ ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile)
.DEFAULT_GOAL := bootstrap
endif
+PODIR := lib/po
+
autoreconf:
- for f in po/*.po.in; do \
+ for f in $(PODIR)/*.po.in; do \
cp $$f `echo $$f | sed 's/.in//'`; \
done
mv build-aux/config.rpath build-aux/config.rpath-
@@ -35,11 +37,11 @@ autoreconf:
mv build-aux/config.rpath- build-aux/config.rpath
update-po: refresh-po
- for f in `ls po/*.po | grep -v quot.po`; do \
+ for f in `ls $(PODIR)/*.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
+ git-add $(PODIR)/*.po.in
+ git-commit -m "Sync with TP." $(PODIR)/LINGUAS $(PODIR)/*.po.in
bootstrap: autoreconf
./configure $(CFGFLAGS)