path: root/bootstrap.sh
diff options
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-14 09:57:04 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-14 09:59:08 -0200
commitd6f864d724db9c1072a4fd04fae2c46f49cf22d1 (patch)
tree24c13291fc4f3320c60d8b06b7c0d2433e02909c /bootstrap.sh
parent5faef3eeb27e15d0618267e29aa4e69e5aa4aea8 (diff)
bootstrap.sh: be less verbose
Reduce verbosity of the script by only showing one message. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'bootstrap.sh')
1 files changed, 6 insertions, 3 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index cddfcfe0..a0f35ebd 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -4,19 +4,22 @@ autoreconf -vfi
GETTEXTIZE=$(which gettextize)
if [ "GETTEXTIZE" != "" ]; then
+ VER=$(gettextize --version|perl -ne 'print $1 if (m/(\d\.\d.*)/)')
cp build-aux/config.rpath build-aux/config.rpath.bak
sed "s,read dummy < /dev/tty,," < $GETTEXTIZE > ./gettextize
chmod 755 ./gettextize
- ./gettextize --force --copy --no-changelog --po-dir=v4l-utils-po
- ./gettextize --force --copy --no-changelog --po-dir=libdvbv5-po
+ echo "Generating locale v4l-utils-po build files for gettext version $VER"
+ ./gettextize --force --copy --no-changelog --po-dir=v4l-utils-po >/dev/null
+ echo "Generating locale libdvbv5-po build files for gettext version $VER"
+ ./gettextize --force --copy --no-changelog --po-dir=libdvbv5-po >/dev/null
for i in v4l-utils-po/Makefile.in.in libdvbv5-po/Makefile.in.in; do
sed 's,rm -f Makefile,rm -f,' $i >a && mv a $i
- sed 's,rm -f Makefile , rm -f ,' $i >a && mv a $i
sed 's,PACKAGE = @PACKAGE@,PACKAGE = @LIBDVBV5_DOMAIN@,' <libdvbv5-po/Makefile.in.in >a && mv a libdvbv5-po/Makefile.in.in
mv build-aux/config.rpath.bak build-aux/config.rpath

Privacy Policy