blob: 82738d9ae2110f15c739528ff824f4e2d342bdd6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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:
|