Jim Meyering
2009-Aug-05 13:00 UTC
[Libguestfs] [PATCH] build: generate some just-removed files in po/
My change that removed most of po/* should have included this patch to generate two required files. Without this change, "make -C po" fails like this: make: Entering directory `/o/libguestfs/po' make: *** No rule to make target `/config.status', needed by `Makefile'. Stop. ... Once you've pulled this change, you will need to run ./bootstrap manually to make it take effect.>From 6d9d5a54f871c229a5d8b65edd5ddf25850ce713 Mon Sep 17 00:00:00 2001From: Jim Meyering <meyering at redhat.com> Date: Wed, 5 Aug 2009 08:01:38 -0400 Subject: [PATCH] build: generate some just-removed files in po/ * bootstrap: Generate po/Makevars and po/LINGUAS. --- bootstrap | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/bootstrap b/bootstrap index e4ddf85..d46b3be 100755 --- a/bootstrap +++ b/bootstrap @@ -60,6 +60,21 @@ case ${GNULIB_SRCDIR--} in ;; esac +ls po/*.po 2>/dev/null | sed 's|.*/||; s|\.po$||' > po/LINGUAS + +# Create gettext configuration. +echo "$0: Creating po/Makevars from po/Makevars.template ..." +rm -f po/Makevars +sed ' + /^EXTRA_LOCALE_CATEGORIES *=/s/=.*/= '"$EXTRA_LOCALE_CATEGORIES"'/ + /^MSGID_BUGS_ADDRESS *=/s/=.*/= '"$MSGID_BUGS_ADDRESS"'/ + /^XGETTEXT_OPTIONS *=/{ + s/$/ \\/ + a\ + '"$XGETTEXT_OPTIONS"' $${end_of_xgettext_options+} + } +' po/Makevars.template >po/Makevars + gnulib_tool=$GNULIB_SRCDIR/gnulib-tool <$gnulib_tool || exit -- 1.6.4.226.g08063
Possibly Parallel Threads
- using gnulib from daemon/
- Re: [PATCH 2/3] po: fix dependencies for libguestfs.pot extraction
- Re: [PATCH 2/3] po: fix dependencies for libguestfs.pot extraction
- [PATCH 2/3] po: fix dependencies for libguestfs.pot extraction
- Re: [PATCH 2/3] po: fix dependencies for libguestfs.pot extraction