|
Packit |
709fb3 |
# Process this file with automake to create Makefile.in
|
|
Packit |
709fb3 |
# Makefile.am for grep/doc.
|
|
Packit |
709fb3 |
#
|
|
Packit |
709fb3 |
# Copyright 2008-2017 Free Software Foundation, Inc.
|
|
Packit |
709fb3 |
#
|
|
Packit |
709fb3 |
# This program is free software; you can redistribute it and/or modify
|
|
Packit |
709fb3 |
# it under the terms of the GNU General Public License as published by
|
|
Packit |
709fb3 |
# the Free Software Foundation; either version 3, or (at your option)
|
|
Packit |
709fb3 |
# any later version.
|
|
Packit |
709fb3 |
#
|
|
Packit |
709fb3 |
# This program is distributed in the hope that it will be useful,
|
|
Packit |
709fb3 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
709fb3 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
709fb3 |
# GNU General Public License for more details.
|
|
Packit |
709fb3 |
#
|
|
Packit |
709fb3 |
# You should have received a copy of the GNU General Public License
|
|
Packit |
709fb3 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
709fb3 |
|
|
Packit |
709fb3 |
info_TEXINFOS = grep.texi
|
|
Packit |
709fb3 |
grep_TEXINFOS = fdl.texi
|
|
Packit |
709fb3 |
|
|
Packit |
709fb3 |
man_MANS = grep.1 fgrep.1 egrep.1
|
|
Packit |
709fb3 |
|
|
Packit |
709fb3 |
EXTRA_DIST = grep.in.1
|
|
Packit |
709fb3 |
CLEANFILES = grep.1 egrep.1 fgrep.1
|
|
Packit |
709fb3 |
|
|
Packit |
709fb3 |
grep.1: grep.in.1
|
|
Packit |
709fb3 |
$(AM_V_GEN)rm -f $@-t $@
|
|
Packit |
709fb3 |
$(AM_V_at)sed 's/@''VERSION@/$(VERSION)/' $(srcdir)/grep.in.1 > $@-t
|
|
Packit |
709fb3 |
$(AM_V_at)chmod a=r $@-t
|
|
Packit |
709fb3 |
$(AM_V_at)mv -f $@-t $@
|
|
Packit |
709fb3 |
|
|
Packit |
709fb3 |
egrep.1 fgrep.1: Makefile.am
|
|
Packit |
709fb3 |
$(AM_V_GEN)rm -f $@-t $@
|
|
Packit |
709fb3 |
$(AM_V_at)inst=`echo grep | sed '$(transform)'`.1 \
|
|
Packit |
709fb3 |
&& echo ".so man1/$$inst" > $@-t
|
|
Packit |
709fb3 |
$(AM_V_at)chmod a=r $@-t
|
|
Packit |
709fb3 |
$(AM_V_at)mv -f $@-t $@
|