diff options
author | peter <peter@FreeBSD.org> | 1996-08-19 01:21:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-19 01:21:46 +0000 |
commit | 12c2419134b4a21b7f845705770991344c166a4f (patch) | |
tree | 78a6403a053e3fb13a6c0a27c1d0023cfc1281c7 /lib | |
parent | aec9a0c3898f93da66502cf770da02ca1f1647e5 (diff) | |
download | FreeBSD-src-12c2419134b4a21b7f845705770991344c166a4f.zip FreeBSD-src-12c2419134b4a21b7f845705770991344c166a4f.tar.gz |
Clean up the beforeinstall target a bit more, bde pointed out that the old
one was a mess. (I was in a 'talk' session at the time, can you tell? :-)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libz/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile index 4c78c6e..afebefa 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 <bsd.lib.mk> |