[beast: 24/41] PO: show full pathnames on make install V=1
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 24/41] PO: show full pathnames on make install V=1
- Date: Fri, 16 Jun 2017 10:24:49 +0000 (UTC)
commit c7eb69d116872032ee934a7dc75efd69c0eb20ee
Author: Tim Janik <timj gnu org>
Date: Wed Jun 14 16:49:47 2017 +0200
PO: show full pathnames on make install V=1
Signed-off-by: Tim Janik <timj gnu org>
po/Makefile.am | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/po/Makefile.am b/po/Makefile.am
index a8ce4eb..3667ffe 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -4,6 +4,10 @@ AUTOMAKE_OPTIONS = -Wno-portability
POSRC_TYPES =
+# Verbosity macros
+Qignore = $(if $(findstring 1, $(V)) ,, : )
+Vignore = $(if $(findstring 1, $(V)) , : ,)
+
# Variables:
# ALL_LINGUAS : setup by configure.ac from po/LINGUAS
# PO_LINGUAS : command line override for ALL_LINGUAS (subset)
@@ -82,9 +86,10 @@ install-data: $(GMOFILES)
@for lang in $(TRANSLATIONS); do \
$(mkinstalldirs) "$(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES/" || exit ; \
test ! -r "$$lang.gmo" || { \
- printf " %-12s -> %s\n" "$$lang.gmo" ".../$$lang/$(BST_GETTEXT_DOMAIN).mo" ; \
- $(INSTALL_DATA) "$$lang.gmo" \
- "$(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES/$(BST_GETTEXT_DOMAIN).mo" || exit 1 ; \
+ echo " INSTALL " "$$lang.gmo" ; \
+ ( $(Qignore) set -x ; \
+ $(INSTALL_DATA) "$$lang.gmo" \
+ "$(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES/$(BST_GETTEXT_DOMAIN).mo" ) || exit 1 ; \
} ; \
done
uninstall:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]