summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2021-10-21 19:28:26 +1100
committerG. Branden Robinson <g.branden.robinson@gmail.com>2021-10-21 19:35:40 +1100
commitb11d57bc1d4f50fe4b591562b926de6eb03cd0d4 (patch)
tree76b02ba05290b940a1546e68db81734b3141aa27 /arch
parentd2ce492513c170afbf2dde989bfc5bc86b552f3f (diff)
downloadgroff-git-b11d57bc1d4f50fe4b591562b926de6eb03cd0d4.tar.gz
[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.
Diffstat (limited to 'arch')
-rw-r--r--arch/misc/misc.am22
1 files changed, 13 insertions, 9 deletions
diff --git a/arch/misc/misc.am b/arch/misc/misc.am
index 8482a6793..08498283b 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: