diff --git a/lib/libz/Makefile b/lib/libz/Makefile index 4c78c6e9046..afebefa4576 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.1 1996/08/18 17:59:48 peter Exp $ +# $Id: Makefile,v 1.2 1996/08/18 23:52:20 peter Exp $ # MAINTAINER=peter@FreeBSD.org @@ -17,8 +17,10 @@ SRCS = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \ zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c inffast.c beforeinstall: - ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} ${.CURDIR}/zlib.h \ - ${.CURDIR}/zconf.h ${DESTDIR}/usr/include +.for hdr in zconf.h zlib.h + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/${hdr} \ + ${DESTDIR}/usr/include +.endfor minigzip: all minigzip.o $(CC) -o minigzip minigzip.o -L. -lz @@ -31,5 +33,4 @@ test: example minigzip (export LD_LIBRARY_PATH=. ; \ echo hello world | ./minigzip | ./minigzip -d ) - .include