Move gzip(1) option -c from commandline into variable GZIPCMD. Not

all compress programs (e.g. cat(1)) support the option -c.
This commit is contained in:
Wolfram Schneider 1997-01-14 11:59:33 +00:00
parent 48ee759d59
commit 9ca816cb59

View File

@ -102,11 +102,11 @@ all: ${IFILES} _SUBDIR
all:
.endif
GZIPCMD?= gzip
GZIPCMD?= gzip -c
.for x in ${INFO:S/$/.info/g}
${x:S/$/.gz/}: ${x}
${GZIPCMD} -c ${.ALLSRC} > ${.TARGET}
${GZIPCMD} ${.ALLSRC} > ${.TARGET}
.endfor
# What to do if there's no dir file there. This is really gross!!!