xref: /netbsd/lib/libbz2/Makefile (revision bf9ec67e)
1#	$NetBSD: Makefile,v 1.7 2002/03/15 01:50:40 mjl 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	    -e 's/@bf{\(.*\)}/\1/' \
23	    <$> >$@
24
25.include <bsd.own.mk>
26
27.if ${MKSHARE} != "no"
28FILESDIR=	${HTMLDOCDIR}/bzip2
29FILES=		manual_toc.html manual_1.html manual_2.html manual_3.html \
30		manual_4.html
31.endif
32
33.include <bsd.info.mk>
34.include <bsd.lib.mk>
35