1 # Automake rules for 'gperl' (preprocessor for added Perl parts)
3 # File position: <groff-source>/contrib/gperl/gperl.am
5 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
6 # Written by Bernd Warken <groff-bernd.warken-72@web.de>.
7 # Automake migration by Bertrand Garrigues
9 # Last update: 22 Aug 2015
11 # This file is part of 'gperl' which is part of 'groff'.
13 # 'groff' is free software; you can redistribute it and/or modify it
14 # under the terms of the GNU General Public License as published by
15 # the Free Software Foundation, either version 2 of the License, or
16 # (at your option) any later version.
18 # 'groff' is distributed in the hope that it will be useful, but
19 # WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 # General Public License for more details.
23 # You should have received a copy of the GNU General Public License
24 # along with this program. If not, see
25 # <http://www.gnu.org/licenses/gpl-2.0.html>.
27 ########################################################################
30 man1_MANS += contrib/gperl/gperl.1
32 contrib/gperl/ChangeLog \
33 contrib/gperl/gperl.1.man \
34 contrib/gperl/gperl.pl
36 gperl: $(top_srcdir)/contrib/gperl/gperl.pl shdeps.sed
38 && sed -f "$(SH_DEPS_SED_SCRIPT)" \
39 -e "s|[@]g[@]|$(g)|g" \
40 -e "s|[@]BINDIR[@]|$(DESTDIR)$(bindir)|g" \
41 -e "s|[@]VERSION[@]|$(VERSION)|g" \
42 -e "$(SH_SCRIPT_SED_CMD)" \
43 $(top_srcdir)/contrib/gperl/gperl.pl \
48 ########################################################################
50 ########################################################################
53 # mode: makefile-automake
56 # vim: set filetype=automake textwidth=72: