xref: /netbsd-src/lib/libbz2/Makefile (revision 3b01aba77a7a698587faaae455bbfe740923c1f5)
1#	$NetBSD: Makefile,v 1.5 2001/06/03 13:42:00 simonb Exp $
2
3LIB=	bz2
4MKMAN=	no
5DIST=	${.CURDIR}/../../dist/bzip2
6.PATH:	${DIST}
7
8SRCS=	blocksort.c huffman.c crctable.c randtable.c compress.c decompress.c \
9	bzlib.c
10INCS=	bzlib.h
11INCSDIR=/usr/include
12
13TEXINFO=	bzip2.info
14CLEANFILES+=	bzip2.texi
15
16bzip2.texi:   manual.texi
17		@-rm -f $@
18		sed -e 's/@parindent.*//' \
19		    -e 's/@parskip.*//' \
20		    -e 's/@node Overview, Implementation, Top, Top/@node Overview, (dir), Top, (dir)/' \
21		    -e 's/@itemize$$/@itemize @bullet/' \
22		    <$> >$@
23
24.include <bsd.own.mk>
25
26.if ${MKSHARE} != "no"
27FILESDIR=	${HTMLDOCDIR}/bzip2
28FILES=		manual_toc.html manual_1.html manual_2.html manual_3.html \
29		manual_4.html
30.endif
31
32.include <bsd.info.mk>
33.include <bsd.lib.mk>
34