* po/Makefile.in.in: Make msgfmt output in little-endian in accordance
with GRUB expectance.
This commit is contained in:
parent
dab797f476
commit
fbd8dca681
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-05-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* po/Makefile.in.in: Make msgfmt output in little-endian in accordance
|
||||||
|
with GRUB expectance.
|
||||||
|
|
||||||
2012-05-03 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-05-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/grub-fstest.c (cmd_cmp): Compare directories recursively.
|
* util/grub-fstest.c (cmd_cmp): Compare directories recursively.
|
||||||
|
|
|
@ -84,13 +84,13 @@ CATALOGS = @CATALOGS@
|
||||||
|
|
||||||
.po.mo:
|
.po.mo:
|
||||||
@echo "$(MSGFMT) -c -o $@ $<"; \
|
@echo "$(MSGFMT) -c -o $@ $<"; \
|
||||||
$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
|
$(MSGFMT) --endianness=little -c -o t-$@ $< && mv t-$@ $@
|
||||||
|
|
||||||
.po.gmo:
|
.po.gmo:
|
||||||
@lang=`echo $* | sed -e 's,.*/,,'`; \
|
@lang=`echo $* | sed -e 's,.*/,,'`; \
|
||||||
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
||||||
echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
|
echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) --endianness=little -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
|
||||||
cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
|
cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) --endianness=little -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
|
||||||
|
|
||||||
.sin.sed:
|
.sin.sed:
|
||||||
sed -e '/^#/d' $< > t-$@
|
sed -e '/^#/d' $< > t-$@
|
||||||
|
|
Loading…
Reference in a new issue