gbranden pushed a commit to branch master
in repository groff.
commit b11d57bc1d4f50fe4b591562b926de6eb03cd0d4
Author: G. Branden Robinson <[email protected]>
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 <[email protected]>
+
+ * 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 <[email protected]>
[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
-# ([email protected]).
-# Adapted to Automake by Bertrand Garrigues ([email protected]).
+# <[email protected]>.
+# Adapted to Automake by Bertrand Garrigues
+# <[email protected]>.
#
# 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:
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit