Both compress and gzip installed themselves as "zcat". I've changed the

makefiles so only gzip is installed as zcat (and now uncompress) because
gzip is faster than compress and it is able to detect corrupted files.
This commit is contained in:
jtc 1993-10-23 01:13:35 +00:00
parent bd67a6f934
commit 79c47ced71
2 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.7 1993/10/15 23:14:16 jtc Exp $
# $Id: Makefile,v 1.8 1993/10/23 01:13:46 jtc Exp $
PROG= gzip
SRCS= gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \
@ -9,9 +9,10 @@ CFLAGS+=-DASMV -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1
LDADD+= -lgnumalloc
DPADD+= /usr/lib/libgnumalloc.a
MLINKS= gzip.1 gunzip.1 gzip.1 zcat.1 gzip.1 gzcat.1
MLINKS= gzip.1 gunzip.1 gzip.1 gzcat.1 gzip.1 uncompress.1 gzip.1 zcat.1
LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip
LINKS+= ${BINDIR}/gzip ${BINDIR}/gzcat
LINKS+= ${BINDIR}/gzip ${BINDIR}/uncompress
LINKS+= ${BINDIR}/gzip ${BINDIR}/zcat
afterinstall:

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.14 (Berkeley) 6/25/90
# $Id: Makefile,v 1.2 1993/07/31 15:24:21 mycroft Exp $
# $Id: Makefile,v 1.3 1993/10/23 01:13:35 jtc Exp $
# USERMEM should be the amount of available user memory in bytes.
# Set it to zero, for physical memory less than 1 Meg.
@ -7,8 +7,5 @@ USERMEM=4194304
PROG= compress
CFLAGS+=-DBSD4_2 -DSACREDMEM=256000 -DUSERMEM=${USERMEM}
LINKS= ${BINDIR}/compress ${BINDIR}/uncompress \
${BINDIR}/compress ${BINDIR}/zcat
MLINKS= compress.1 uncompress.1 compress.1 zcat.1
.include <bsd.prog.mk>