groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 12/12: tmac/tmac.am: Build more quietly.


From: G. Branden Robinson
Subject: [groff] 12/12: tmac/tmac.am: Build more quietly.
Date: Thu, 21 Oct 2021 07:07:45 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit bc7a4840eb162f061f829f28827f1651d15fa955
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Oct 21 21:35:18 2021 +1100

    tmac/tmac.am: Build more quietly.
    
    * tmac/tmac.am: Build more quietly.
      (tmac/stamp-wrap): Prefix all rule commands with `$(AM_V_at)`; since
      this target is a stamp file instead of useful artifact to be
      distributed, make its creation completely silent by default.
    
    Also wrap long lines and tweak legal notice formatting.
---
 ChangeLog    |  7 +++++++
 tmac/tmac.am | 18 ++++++++++--------
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f5a4fcd..a3a3f54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2021-10-21  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * tmac/tmac.am: Build more quietly.
+       (tmac/stamp-wrap): Prefix all rule commands with `$(AM_V_at)`;
+       since this target is a stamp file instead of useful artifact to
+       be distributed, make its creation completely silent by default.
+
+2021-10-21  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * src/roff/troff/troff.am: Build more robustly.
        (src/roff/troff/majorminor.cpp): Drop progress-reporting `echo`
        in favor of prefixing final rule command with `$(AM_V_GEN)`.
diff --git a/tmac/tmac.am b/tmac/tmac.am
index d8191f3..41d65a3 100644
--- a/tmac/tmac.am
+++ b/tmac/tmac.am
@@ -1,6 +1,7 @@
 # Copyright (C) 1989-2020 Free Software Foundation, Inc.
-#      Written by James Clark (jjc@jclark.com)
+#      Written by James Clark <jjc@jclark.com>
 #      Automake migration by Bertrand Garrigues
+#        <bertrand.garrigues@laposte.net>
 #
 # This file is part of groff.
 #
@@ -251,21 +252,22 @@ tmac/groff_man_style.7.man: tmac/groff_man.7.man.in 
$(M4CHECK)
 
 all: tmac/stamp-wrap
 
-# Generate groff compatibility wrappers for all non-GNU OS provided
-# macro sets.
+# Generate compatibility wrappers for non-GNU OS-provided macro packages
+# for which groff provides an alternative implementation.
 tmac/stamp-wrap:
-       $(MKDIR_P) $(top_builddir)/tmac;
-       if test -n "$(tmac_wrap)"; then \
+       $(AM_V_at)$(MKDIR_P) $(top_builddir)/tmac;
+       $(AM_V_at)if test -n "$(tmac_wrap)"; then \
          for m in ""$(tmac_wrap); do \
            $(RM) $(top_builddir)/tmac/$$m-wrap; \
            if test "$$m" = an; then \
              echo .do mso an.tmac >>$(top_builddir)/tmac/$$m-wrap; \
            fi; \
            echo .cp 1 >>$(top_builddir)/tmac/$$m-wrap; \
-           echo .so $(sys_tmac_prefix)$$m >>$(top_builddir)/tmac/$$m-wrap; \
+           echo .so $(sys_tmac_prefix)$$m \
+             >>$(top_builddir)/tmac/$$m-wrap; \
          done; \
        fi
-       touch $@
+       $(AM_V_at)touch $@
 
 # Install groff compatibility wrappers into
 # <prefix>/lib/groff/site-tmac.
@@ -276,7 +278,7 @@ install_tmac_wrap:
          if test -n "$(tmac_wrap)"; then \
            for m in ""$(tmac_wrap); do \
              $(INSTALL_DATA) $(tmac_builddir)/$$m-wrap \
-                $(DESTDIR)$(systemtmacdir)/$$m$(wrapper_suffix).tmac; \
+               $(DESTDIR)$(systemtmacdir)/$$m$(wrapper_suffix).tmac; \
            done; \
          fi; \
        fi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]