2002-03-15 04:50:40 +03:00
|
|
|
# $NetBSD: Makefile,v 1.7 2002/03/15 01:50:40 mjl Exp $
|
1998-09-14 07:18:12 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= bz2
|
|
|
|
NOMAN= # defined
|
|
|
|
DIST= ${.CURDIR}/../../dist/bzip2
|
|
|
|
.PATH: ${DIST}
|
1998-09-14 07:18:12 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \
|
|
|
|
decompress.c bzlib.c
|
|
|
|
INCS= bzlib.h
|
|
|
|
INCSDIR= /usr/include
|
1998-09-14 07:18:12 +04:00
|
|
|
|
2001-06-03 17:41:59 +04:00
|
|
|
TEXINFO= bzip2.info
|
2000-11-08 05:15:13 +03:00
|
|
|
CLEANFILES+= bzip2.texi
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
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/' \
|
2002-03-15 04:50:40 +03:00
|
|
|
-e 's/@bf{\(.*\)}/\1/' \
|
2001-12-12 03:51:00 +03:00
|
|
|
<$> >$@
|
2000-11-08 05:15:13 +03:00
|
|
|
|
2000-11-10 05:00:09 +03:00
|
|
|
.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
|
|
|
|
|
2000-11-08 05:15:13 +03:00
|
|
|
.include <bsd.info.mk>
|
1998-09-14 07:18:12 +04:00
|
|
|
.include <bsd.lib.mk>
|