[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r6414 - in trunk: gnue-appserver/po gnue-common/po gnue-designer/po gnue
From: |
reinhard |
Subject: |
r6414 - in trunk: gnue-appserver/po gnue-common/po gnue-designer/po gnue-forms/po gnue-navigator/po gnue-reports/po |
Date: |
Tue, 28 Sep 2004 05:04:16 -0500 (CDT) |
Author: reinhard
Date: 2004-09-28 05:04:15 -0500 (Tue, 28 Sep 2004)
New Revision: 6414
Modified:
trunk/gnue-appserver/po/Makefile
trunk/gnue-common/po/Makefile
trunk/gnue-designer/po/Makefile
trunk/gnue-forms/po/Makefile
trunk/gnue-navigator/po/Makefile
trunk/gnue-reports/po/Makefile
Log:
Improved translation build process: gmo files are rebuilt if po file changed.
Modified: trunk/gnue-appserver/po/Makefile
===================================================================
--- trunk/gnue-appserver/po/Makefile 2004-09-28 09:36:58 UTC (rev 6413)
+++ trunk/gnue-appserver/po/Makefile 2004-09-28 10:04:15 UTC (rev 6414)
@@ -13,16 +13,12 @@
gmo: $(GMOFILES)
update-po:
- rm -f STATISTICS $(POTFILE) $(GMOFILES)
- make $(POFILES)
-
-$(POTFILE):
+ rm -f STATISTICS
cd ../src; $(XGETTEXT) --output=../po/$(POTFILE) `find * -name '*.py'`
+ for i in $(POFILES); do msgmerge --output-file=$$i.tmp $$i $(POTFILE)
&& mv $$i.tmp $$i; done
+ make gmo
-%.po: $(POTFILE)
- msgmerge address@hidden $@ $(POTFILE) && mv address@hidden $@
-
-%.gmo:
+%.gmo: %.po
echo -n "$*: " >> STATISTICS
(LANGUAGE=C msgfmt --statistics --output-file=$@ $*.po 2>&1) | grep
translated >> STATISTICS
Modified: trunk/gnue-common/po/Makefile
===================================================================
--- trunk/gnue-common/po/Makefile 2004-09-28 09:36:58 UTC (rev 6413)
+++ trunk/gnue-common/po/Makefile 2004-09-28 10:04:15 UTC (rev 6414)
@@ -13,16 +13,12 @@
gmo: $(GMOFILES)
update-po:
- rm -f STATISTICS $(POTFILE) $(GMOFILES)
- make $(POFILES)
-
-$(POTFILE):
+ rm -f STATISTICS
cd ../src; $(XGETTEXT) --output=../po/$(POTFILE) `find * -name '*.py'`
+ for i in $(POFILES); do msgmerge --output-file=$$i.tmp $$i $(POTFILE)
&& mv $$i.tmp $$i; done
+ make gmo
-%.po: $(POTFILE)
- msgmerge address@hidden $@ $(POTFILE) && mv address@hidden $@
-
-%.gmo:
+%.gmo: %.po
echo -n "$*: " >> STATISTICS
(LANGUAGE=C msgfmt --statistics --output-file=$@ $*.po 2>&1) | grep
translated >> STATISTICS
Modified: trunk/gnue-designer/po/Makefile
===================================================================
--- trunk/gnue-designer/po/Makefile 2004-09-28 09:36:58 UTC (rev 6413)
+++ trunk/gnue-designer/po/Makefile 2004-09-28 10:04:15 UTC (rev 6414)
@@ -13,16 +13,12 @@
gmo: $(GMOFILES)
update-po:
- rm -f STATISTICS $(POTFILE) $(GMOFILES)
- make $(POFILES)
-
-$(POTFILE):
+ rm -f STATISTICS
cd ../src; $(XGETTEXT) --output=../po/$(POTFILE) `find * -name '*.py'`
+ for i in $(POFILES); do msgmerge --output-file=$$i.tmp $$i $(POTFILE)
&& mv $$i.tmp $$i; done
+ make gmo
-%.po: $(POTFILE)
- msgmerge address@hidden $@ $(POTFILE) && mv address@hidden $@
-
-%.gmo:
+%.gmo: %.po
echo -n "$*: " >> STATISTICS
(LANGUAGE=C msgfmt --statistics --output-file=$@ $*.po 2>&1) | grep
translated >> STATISTICS
Modified: trunk/gnue-forms/po/Makefile
===================================================================
--- trunk/gnue-forms/po/Makefile 2004-09-28 09:36:58 UTC (rev 6413)
+++ trunk/gnue-forms/po/Makefile 2004-09-28 10:04:15 UTC (rev 6414)
@@ -13,16 +13,12 @@
gmo: $(GMOFILES)
update-po:
- rm -f STATISTICS $(POTFILE) $(GMOFILES)
- make $(POFILES)
-
-$(POTFILE):
+ rm -f STATISTICS
cd ../src; $(XGETTEXT) --output=../po/$(POTFILE) `find * -name '*.py'`
+ for i in $(POFILES); do msgmerge --output-file=$$i.tmp $$i $(POTFILE)
&& mv $$i.tmp $$i; done
+ make gmo
-%.po: $(POTFILE)
- msgmerge address@hidden $@ $(POTFILE) && mv address@hidden $@
-
-%.gmo:
+%.gmo: %.po
echo -n "$*: " >> STATISTICS
(LANGUAGE=C msgfmt --statistics --output-file=$@ $*.po 2>&1) | grep
translated >> STATISTICS
Modified: trunk/gnue-navigator/po/Makefile
===================================================================
--- trunk/gnue-navigator/po/Makefile 2004-09-28 09:36:58 UTC (rev 6413)
+++ trunk/gnue-navigator/po/Makefile 2004-09-28 10:04:15 UTC (rev 6414)
@@ -13,16 +13,12 @@
gmo: $(GMOFILES)
update-po:
- rm -f STATISTICS $(POTFILE) $(GMOFILES)
- make $(POFILES)
-
-$(POTFILE):
+ rm -f STATISTICS
cd ../src; $(XGETTEXT) --output=../po/$(POTFILE) `find * -name '*.py'`
+ for i in $(POFILES); do msgmerge --output-file=$$i.tmp $$i $(POTFILE)
&& mv $$i.tmp $$i; done
+ make gmo
-%.po: $(POTFILE)
- msgmerge address@hidden $@ $(POTFILE) && mv address@hidden $@
-
-%.gmo:
+%.gmo: %.po
echo -n "$*: " >> STATISTICS
(LANGUAGE=C msgfmt --statistics --output-file=$@ $*.po 2>&1) | grep
translated >> STATISTICS
Modified: trunk/gnue-reports/po/Makefile
===================================================================
--- trunk/gnue-reports/po/Makefile 2004-09-28 09:36:58 UTC (rev 6413)
+++ trunk/gnue-reports/po/Makefile 2004-09-28 10:04:15 UTC (rev 6414)
@@ -13,16 +13,12 @@
gmo: $(GMOFILES)
update-po:
- rm -f STATISTICS $(POTFILE) $(GMOFILES)
- make $(POFILES)
-
-$(POTFILE):
+ rm -f STATISTICS
cd ../src; $(XGETTEXT) --output=../po/$(POTFILE) `find * -name '*.py'`
+ for i in $(POFILES); do msgmerge --output-file=$$i.tmp $$i $(POTFILE)
&& mv $$i.tmp $$i; done
+ make gmo
-%.po: $(POTFILE)
- msgmerge address@hidden $@ $(POTFILE) && mv address@hidden $@
-
-%.gmo:
+%.gmo: %.po
echo -n "$*: " >> STATISTICS
(LANGUAGE=C msgfmt --statistics --output-file=$@ $*.po 2>&1) | grep
translated >> STATISTICS
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r6414 - in trunk: gnue-appserver/po gnue-common/po gnue-designer/po gnue-forms/po gnue-navigator/po gnue-reports/po,
reinhard <=