xref: /netbsd-src/lib/libbz2/Makefile (revision 1ca5c1b28139779176bd5c13ad7c5f25c0bcd5f8)
1#	$NetBSD: Makefile,v 1.6 2001/12/12 00:51:01 tv Exp $
2
3LIB=		bz2
4NOMAN=		# defined
5DIST=		${.CURDIR}/../../dist/bzip2
6.PATH:		${DIST}
7
8SRCS=		blocksort.c huffman.c crctable.c randtable.c compress.c \
9		decompress.c 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