diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:44:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:44:05 +0000 |
commit | d318611dd6f23fcfedd50e9b9e24620b102ba96a (patch) | |
tree | 8b9eef82ca40fdd5a8deeabf07572074c236095d /src/roff/nroff/nroff.am | |
parent | Initial commit. (diff) | |
download | groff-upstream.tar.xz groff-upstream.zip |
Adding upstream version 1.23.0.upstream/1.23.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/roff/nroff/nroff.am | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/roff/nroff/nroff.am b/src/roff/nroff/nroff.am new file mode 100644 index 0000000..82738d9 --- /dev/null +++ b/src/roff/nroff/nroff.am @@ -0,0 +1,44 @@ +# Copyright (C) 2014-2020 Free Software Foundation, Inc. +# +# 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. +# +# 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/>. + +prefixexecbin_SCRIPTS += nroff +nroff_srcdir = $(top_srcdir)/src/roff/nroff +PREFIXMAN1 += src/roff/nroff/nroff.1 +EXTRA_DIST += \ + src/roff/nroff/nroff.1.man \ + src/roff/nroff/nroff.sh + +nroff_TESTS = \ + src/roff/nroff/tests/verbose_option_works.sh +TESTS += $(nroff_TESTS) +EXTRA_DIST += $(nroff_TESTS) + +nroff: $(nroff_srcdir)/nroff.sh $(SH_DEPS_SED_SCRIPT) + $(AM_V_GEN)rm -f $@ \ + && sed -f $(SH_DEPS_SED_SCRIPT) \ + -e $(SH_SCRIPT_SED_CMD) \ + -e "s|[@]VERSION[@]|$(VERSION)|" \ + $(nroff_srcdir)/nroff.sh \ + >$@ \ + && chmod +x $@ + + +# Local Variables: +# mode: makefile-automake +# fill-column: 72 +# End: +# vim: set autoindent filetype=automake textwidth=72: |