New command line options handling.
[gliv.git] / po / Makefile.in.in.patch
blobc7b3dcc58598828584653e82860770f94ed3e9a5
1 --- /usr/share/gettext/po/Makefile.in.in
2 +++ Makefile.in.in
3 @@ -64,8 +64,8 @@
4 .po.gmo:
5 @lang=`echo $* | sed -e 's,.*/,,'`; \
6 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
7 - echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
8 - cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
9 + echo "$${cdcmd}rm -f $${lang}.gmo && msgconv -t UTF-8 $${lang}.po | $(GMSGFMT) -c --statistics -o $${lang}.gmo -"; \
10 + cd $(srcdir) && rm -f $${lang}.gmo && msgconv -t UTF-8 $${lang}.po | $(GMSGFMT) -c --statistics -o t-$${lang}.gmo - && mv t-$${lang}.gmo $${lang}.gmo
12 .sin.sed:
13 sed -e '/^#/d' $< > t-$@