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:
parent
48ee759d59
commit
9ca816cb59
@ -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!!!
|
||||
|
Loading…
Reference in New Issue
Block a user