groff-commit
[Top][All Lists]
Advanced

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

[groff] 10/12: src/preproc/eqn/eqn.am: Simplify.


From: G. Branden Robinson
Subject: [groff] 10/12: src/preproc/eqn/eqn.am: Simplify.
Date: Thu, 21 Oct 2021 07:07:44 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit f432d98f0c3f16a1035e842d497e55c337a28852
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Oct 21 21:06:51 2021 +1100

    src/preproc/eqn/eqn.am: Simplify.
    
    * src/preproc/eqn/eqn.am (neqn): Simplify: drop removal of target prior
      to overwriting it; any system we can build groff on should have a
      shell that implements the clobbering semantics of the POSIX shell '>'
      operator.  (If this isn't true, we have _many_ other target rules in
      our build to which we must add prefatory `$(RM)`s, or I miss my
      guess.)
    
    Also tweak legal notice formatting.
---
 ChangeLog              |  9 +++++++++
 src/preproc/eqn/eqn.am | 11 +++++------
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b6188e9..0750fcd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2021-10-21  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * src/preproc/eqn/eqn.am (neqn): Simplify: drop removal of
+       target prior to overwriting it; any system we can build groff on
+       should have a shell that implements the clobbering semantics of
+       the POSIX shell '>' operator.  (If this isn't true, we have
+       _many_ other target rules in our build to which we must add
+       prefatory `$(RM)`s, or I miss my guess.)
+
+2021-10-21  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * src/libs/libgroff/libgroff.am: Build more quietly and
        robustly.
        (src/libs/libgroff/version.cpp): Drop progress-reporting `echo`
diff --git a/src/preproc/eqn/eqn.am b/src/preproc/eqn/eqn.am
index 6c84156..f40ae05 100644
--- a/src/preproc/eqn/eqn.am
+++ b/src/preproc/eqn/eqn.am
@@ -4,11 +4,11 @@
 #
 # groff is free software; you can redistribute it and/or modify it under
 # the terms of the GNU General Public License as published by the Free
-# Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
 #
-# groff is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# groff is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 # for more details.
 #
@@ -56,8 +56,7 @@ CLEANFILES += \
   src/preproc/eqn/eqn.output
 
 neqn: $(top_srcdir)/src/preproc/eqn/neqn.sh $(SH_DEPS_SED_SCRIPT)
-       $(AM_V_GEN)$(RM) $@ \
-       && sed -e 's/[@]g[@]/$(g)/g' \
+       $(AM_V_GEN)sed -e 's/[@]g[@]/$(g)/g' \
               -f $(SH_DEPS_SED_SCRIPT) \
               -e $(SH_SCRIPT_SED_CMD) \
               $(top_srcdir)/src/preproc/eqn/neqn.sh \



reply via email to

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