[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 03/12: [arch]: Build more quietly and DRY.
From: |
G. Branden Robinson |
Subject: |
[groff] 03/12: [arch]: Build more quietly and DRY. |
Date: |
Thu, 21 Oct 2021 07:07:42 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit b11d57bc1d4f50fe4b591562b926de6eb03cd0d4
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Oct 21 19:28:26 2021 +1100
[arch]: Build more quietly and DRY.
* arch/misc/misc.am:
(arch_shdeps_sh): Pull file name into a new variable.
(EXTRA_DIST, shdeps.sed): Ue it.
(shdeps.sed): Build more quietly; prefix with `$(AM_GEN_V)`.
Also wrap long lines and tweak legal notice formatting.
---
ChangeLog | 7 +++++++
arch/misc/misc.am | 22 +++++++++++++---------
2 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8d1e6b7..13e065d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-10-21 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * arch/misc/misc.am:
+ (arch_shdeps_sh): Pull file name into a new variable.
+ (EXTRA_DIST, shdeps.sed): Ue it.
+ (shdeps.sed): Build more quietly; prefix with `$(AM_GEN_V)`.
+
2021-10-20 G. Branden Robinson <g.branden.robinson@gmail.com>
[nroff]: Support groff's -R flag to run refer(1).
diff --git a/arch/misc/misc.am b/arch/misc/misc.am
index 8482a67..0849828 100644
--- a/arch/misc/misc.am
+++ b/arch/misc/misc.am
@@ -1,27 +1,31 @@
# Copyright (C) 2004-2020 Free Software Foundation, Inc.
# Original Makefile.sub written by Keith Marshall
-# (keith.d.marshall@ntlworld.com).
-# Adapted to Automake by Bertrand Garrigues (bertrand.garrigues@laposte.net).
+# <keith.d.marshall@ntlworld.com>.
+# Adapted to Automake by Bertrand Garrigues
+# <bertrand.garrigues@laposte.net>.
#
# This file is part of groff.
#
# 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.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-EXTRA_DIST += arch/misc/shdeps.sh
+
+arch_shdeps_sh = arch/misc/shdeps.sh
+EXTRA_DIST += $(arch_shdeps_sh)
MOSTLYCLEANFILES += shdeps.sed
-shdeps.sed: $(top_srcdir)/arch/misc/shdeps.sh
- $(SHELL) $(top_srcdir)/arch/misc/shdeps.sh "$(RT_SEP)" "$(SH_SEP)"
"$(bindir)" > $@
+shdeps.sed: $(top_srcdir)/$(arch_shdeps_sh)
+ $(AM_V_GEN)$(SHELL) $(top_srcdir)/$(arch_shdeps_sh) \
+ "$(RT_SEP)" "$(SH_SEP)" "$(bindir)" > $@
# Local Variables:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 03/12: [arch]: Build more quietly and DRY.,
G. Branden Robinson <=