diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-01-26 09:53:24 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-01-26 09:53:24 +0000 |
commit | d341419c04ab75de932581184281493517201055 (patch) | |
tree | 5d3ba09aa4681c5901af91dd4396e1e7ec663903 /gnu/usr.bin/gzip/Makefile | |
parent | 71c8e506523a54c4f474271f7968e8f8f6a70992 (diff) |
Add missing documentation; build and install it.
Diffstat (limited to 'gnu/usr.bin/gzip/Makefile')
-rw-r--r-- | gnu/usr.bin/gzip/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gnu/usr.bin/gzip/Makefile b/gnu/usr.bin/gzip/Makefile index ffc6dc2abc1..ecfe2e21a52 100644 --- a/gnu/usr.bin/gzip/Makefile +++ b/gnu/usr.bin/gzip/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 1996/09/16 10:21:32 downsj Exp $ +# $OpenBSD: Makefile,v 1.6 1997/01/26 09:53:18 downsj Exp $ # $NetBSD: Makefile,v 1.17 1995/10/24 22:18:34 jtc Exp $ PROG= gzip @@ -12,8 +12,12 @@ SRCS+= match.S CFLAGS+=-DASMV .endif +CLEANFILES+= gzip.info + LDSTATIC= ${STATIC} +MAKEINFO= makeinfo + MLINKS+= gzip.1 gunzip.1 gzip.1 gzcat.1 gzip.1 zcat.1 MLINKS+= zdiff.1 zcmp.1 #MLINKS+= gzip.1 uncompress.1 @@ -23,6 +27,15 @@ LINKS+= ${BINDIR}/gzip ${BINDIR}/zcat LINKS+= ${BINDIR}/zdiff ${BINDIR}/zcmp #LINKS+= ${BINDIR}/gzip ${BINDIR}/uncompress +all: gzip.info + +gzip.info: gzip.texi + ${MAKEINFO} -I${.CURDIR} ${.CURDIR}/gzip.texi + +beforeinstall: + ${INSTALL} ${COPY} -m 444 -o ${BINOWN} -g ${BINGRP} *.info* \ + ${DESTDIR}/usr/share/info + afterinstall: install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/zforce ${.CURDIR}/gzexe ${.CURDIR}/znew \ |