From: Bruno Haible Date: Sat, 17 Jan 2004 17:07:08 +0000 (+0000) Subject: Fixes for "make dist". X-Git-Tag: v0.14~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a223e6856557560d6ba6cc88d7c44f95f87d101b;p=thirdparty%2Fgettext.git Fixes for "make dist". --- diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog index 335543165..f96542928 100644 --- a/gettext-tools/examples/ChangeLog +++ b/gettext-tools/examples/ChangeLog @@ -1,3 +1,14 @@ +2004-01-17 Bruno Haible + + * po/Makefile.am (POTFILES): Add hello-csharp, hello-csharp-forms + sources. + (SMALLPOTS): Add hello-csharp.pot, hello-csharp-forms.pot. + (hello-csharp.pot, hello-csharp-forms.pot): New rules. + (SMALLPOFILES_FOR_lang): Add hello-csharp, hello-csharp-forms elements. + (../hello-csharp/po/$(LL).po, ../hello-csharp-forms/po/$(LL).po): New + rules. + * po/mmsmallpo.sh: Use option --force-po. + 2004-01-17 Bruno Haible * hello-*/po/Makefile.am: Adapt to changes made in po/Makefile.in.in. diff --git a/gettext-tools/examples/po/Makefile.am b/gettext-tools/examples/po/Makefile.am index 9d06d23e2..b95465745 100644 --- a/gettext-tools/examples/po/Makefile.am +++ b/gettext-tools/examples/po/Makefile.am @@ -44,6 +44,8 @@ POTFILES = \ examples/hello-java/Hello.java \ examples/hello-java-awt/Hello.java \ examples/hello-java-swing/Hello.java \ + examples/hello-csharp/hello.cs \ + examples/hello-csharp-forms/hello.cs \ examples/hello-gawk/hello.awk \ examples/hello-pascal/hello.pas \ examples/hello-ycp/hello.ycp \ @@ -72,6 +74,8 @@ SMALLPOTS = \ hello-java.pot \ hello-java-awt.pot \ hello-java-swing.pot \ + hello-csharp.pot \ + hello-csharp-forms.pot \ hello-gawk.pot \ hello-pascal.pot \ hello-ycp.pot \ @@ -235,6 +239,12 @@ hello-java-awt.pot : $(POTFILES_DEPS) hello-java-swing.pot : $(POTFILES_DEPS) $(SHELL) xsmallpot.sh hello-java-swing +hello-csharp.pot : $(POTFILES_DEPS) + $(SHELL) xsmallpot.sh hello-csharp + +hello-csharp-forms.pot : $(POTFILES_DEPS) + $(SHELL) xsmallpot.sh hello-csharp-forms + hello-gawk.pot : $(POTFILES_DEPS) $(SHELL) xsmallpot.sh hello-gawk @@ -346,6 +356,8 @@ SMALLPOFILES_FOR_lang = \ ../hello-java/po/$$lang.po \ ../hello-java-awt/po/$$lang.po \ ../hello-java-swing/po/$$lang.po \ + ../hello-csharp/po/$$lang.po \ + ../hello-csharp-forms/po/$$lang.po \ ../hello-gawk/po/$$lang.po \ ../hello-pascal/po/$$lang.po \ ../hello-ycp/po/$$lang.po \ @@ -405,6 +417,12 @@ SMALLPOFILES_FOR_lang = \ ../hello-java-swing/po/$(LL).po: hello-java-swing.pot $(LL).po $(SHELL) mmsmallpo.sh hello-java-swing $(LL) +../hello-csharp/po/$(LL).po: hello-csharp.pot $(LL).po + $(SHELL) mmsmallpo.sh hello-csharp $(LL) + +../hello-csharp-forms/po/$(LL).po: hello-csharp-forms.pot $(LL).po + $(SHELL) mmsmallpo.sh hello-csharp-forms $(LL) + ../hello-gawk/po/$(LL).po: hello-gawk.pot $(LL).po $(SHELL) mmsmallpo.sh hello-gawk $(LL) diff --git a/gettext-tools/examples/po/mmsmallpo.sh b/gettext-tools/examples/po/mmsmallpo.sh index c9204d1ff..0faedd807 100755 --- a/gettext-tools/examples/po/mmsmallpo.sh +++ b/gettext-tools/examples/po/mmsmallpo.sh @@ -7,7 +7,7 @@ test $# = 2 || { echo "Usage: mmsmallpo.sh hello-foo ll" 1>&2; exit 1; } directory=$1 language=$2 -msgmerge $language.po $directory.pot -o - | \ +msgmerge --force-po $language.po $directory.pot -o - | \ msgattrib --no-obsolete | \ sed -e "s, $directory/, ,g" | sed -e "s,gettext-examples,$directory," | \ sed -e '/^"POT-Creation-Date: .*"$/{