summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: b93d96c35ae84c2fa1b83cd560be646bceb1a791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## Process this file with automake to create Makefile.in
AUTOMAKE_OPTIONS=no-dependencies

info_TEXINFOS = grep.texi

man_MANS = grep.1 fgrep.1 egrep.1

EXTRA_DIST = grep.1 egrep.man fgrep.man

CLEANFILES = egrep.1 fgrep.1

fgrep.1: fgrep.man
	inst=`echo "grep" | sed '$(transform)'`.1; \
sed -e "s%@grep@%$$inst%g" $(srcdir)/fgrep.man > $@

egrep.1: egrep.man
	inst=`echo "grep" | sed '$(transform)'`.1; \
sed -e "s%@grep@%$$inst%g" $(srcdir)/egrep.man > $@