summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-12-26 01:53:58 +0000
committerwosch <wosch@FreeBSD.org>1997-12-26 01:53:58 +0000
commit2d8d633ba53299b082383f2ba3f2fc523ae43ac6 (patch)
tree9664618fcfafadfa21928456e7a6191c9c24a6a8 /gnu
parente7557f392fad759497d4f6a3e902142ea8b97d53 (diff)
downloadFreeBSD-src-2d8d633ba53299b082383f2ba3f2fc523ae43ac6.zip
FreeBSD-src-2d8d633ba53299b082383f2ba3f2fc523ae43ac6.tar.gz
Do not install the z*grep man pages if grep was linked with -lz.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gzip/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/gzip/Makefile b/gnu/usr.bin/gzip/Makefile
index 31af912..71603d5 100644
--- a/gnu/usr.bin/gzip/Makefile
+++ b/gnu/usr.bin/gzip/Makefile
@@ -1,16 +1,16 @@
# @(#)Makefile 5.3 (Berkeley) 5/12/90
-# $Id: Makefile,v 1.16 1997/12/20 19:20:32 wosch Exp $
+# $Id: Makefile,v 1.17 1997/12/21 19:15:12 wosch Exp $
PROG= gzip
SRCS= gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \
crypt.c lzw.c unlzw.c unlzh.c unpack.c getopt.c match.S
-MAN1= gzexe.1 gzip.1 zdiff.1 zforce.1 zmore.1 znew.1 zgrep.1
+MAN1= gzexe.1 gzip.1 zdiff.1 zforce.1 zmore.1 znew.1
CFLAGS+=-DASMV -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1
GREP_LIBZ?= YES
MLINKS= gzip.1 gunzip.1 gzip.1 zcat.1 gzip.1 gzcat.1
-MLINKS+= zgrep.1 zfgrep.1 zgrep.1 zegrep.1
MLINKS+= zdiff.1 zcmp.1
+
LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip
LINKS+= ${BINDIR}/gzip ${BINDIR}/gzcat
LINKS+= ${BINDIR}/gzip ${BINDIR}/zcat
@@ -18,6 +18,8 @@ LINKS+= ${BINDIR}/zdiff ${BINDIR}/zcmp
.if defined(GREP_LIBZ) && empty(GREP_LIBZ)
LINKS+= ${BINDIR}/zgrep ${BINDIR}/zegrep
LINKS+= ${BINDIR}/zgrep ${BINDIR}/zfgrep
+MLINKS+= zgrep.1 zfgrep.1 zgrep.1 zegrep.1
+MAN1+= zgrep.1
.endif
NOSHARED?=yes
OpenPOWER on IntegriCloud