summaryrefslogtreecommitdiff
path: root/lib/libbz2/Makefile
blob: 71ee66a85cd57cb84dfad8ae27863a12d27d486c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#	$NetBSD: Makefile,v 1.6 2001/12/12 00:51:01 tv Exp $

LIB=		bz2
NOMAN=		# defined
DIST=		${.CURDIR}/../../dist/bzip2
.PATH:		${DIST}

SRCS=		blocksort.c huffman.c crctable.c randtable.c compress.c \
		decompress.c bzlib.c
INCS=		bzlib.h
INCSDIR=	/usr/include

TEXINFO=	bzip2.info
CLEANFILES+=	bzip2.texi

bzip2.texi: manual.texi
	@-rm -f $@
	sed -e 's/@parindent.*//' \
	    -e 's/@parskip.*//' \
	    -e 's/@node Overview, Implementation, Top, Top/@node Overview, (dir), Top, (dir)/' \
	    -e 's/@itemize$$/@itemize @bullet/' \
	    <$> >$@

.include <bsd.own.mk>

.if ${MKSHARE} != "no"
FILESDIR=	${HTMLDOCDIR}/bzip2
FILES=		manual_toc.html manual_1.html manual_2.html manual_3.html \
		manual_4.html
.endif

.include <bsd.info.mk>
.include <bsd.lib.mk>