Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Bruce Dubbs wrote:
Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Carles Pina i Estany wrote:
Hi,
On Mar/17/2010, Bruce Dubbs wrote:
With the addition of the internationalization code, building GRUB in
a separate directory fails.
I'll take a look into it "soon" (next days or next week)
Probably it's an easy thing, if someone checks it before please report
:-)
cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@
-f $< --keyword=_ --keyword=N_
to
cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@
-f po/POTFILES --keyword=_ --keyword=N_
Feel free to test & commit
I don't think so.
Well you have a funny way of disagreeing arriving to the same result as
I told: replace
cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@
-f $< --keyword=_ --keyword=N_
with
cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@
-f po/POTFILES --keyword=_ --keyword=N_
Have you tested it?
Yes, have you?
tar -xf grub-1.98.tar.gz
cd grub-1.98
mkdir build
cd build
../configure
#edit line 528 of Makefile as above
make
cd .. && /usr/bin/xgettext -ctranslate --from-code=utf-8 -o
../po/grub.pot -f po/POTFILES --keyword=_ --keyword=N_
/usr/bin/xgettext: cannot create output file "../po/grub.pot": No such
file or directory
make: *** [../po/grub.pot] Error 1
As I said before, the error is that -o $@ is invalid because of the
change of directory.
-- Bruce
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel