build: avoid first-time configure-from-clone failure
authorJim Meyering <meyering@redhat.com>
Mon, 10 Aug 2009 13:00:48 +0000 (15:00 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 10 Aug 2009 13:37:27 +0000 (15:37 +0200)
* bootstrap: Run autopoint before using the file it creates,
po/Makevars.template.  Reported by Richard Jones.  Details here:
https://www.redhat.com/archives/libguestfs/2009-August/msg00135.html

bootstrap

index 1eee72d..cea8c40 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -28,6 +28,9 @@ GNULIB_SRCDIR=.gnulib
 
 ls po/*.po 2>/dev/null | sed 's|.*/||; s|\.po$||' > po/LINGUAS
 
+# Run autopoint, to get po/Makevars.template:
+autopoint
+
 # Create gettext configuration.
 echo "$0: Creating po/Makevars from po/Makevars.template ..."
 rm -f po/Makevars