fad5af1f3b
instead of it's own; pointed out by Stefan Kruger in private e-mail add rules to install the gawk info file too; it's useful to have installed, and allows nawk to be drop-in replacement without need to adjust file lists
29 lines
555 B
Makefile
29 lines
555 B
Makefile
# $NetBSD: Makefile,v 1.6 2003/08/03 17:19:45 jdolecek Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIST= ${NETBSDSRCDIR}/dist
|
|
.PATH: ${DIST}/nawk
|
|
|
|
PROG= awk
|
|
SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c
|
|
CPPFLAGS+= -I${DIST}/nawk -I. -DHAS_ISBLANK
|
|
LDADD+= -lm
|
|
DPADD+= ${LIBM}
|
|
YHEADER= yes
|
|
|
|
# gawk INFO file
|
|
GDIST= ${NETBSDSRCDIR}/gnu/dist/gawk
|
|
.PATH: ${GDIST}/doc
|
|
|
|
TEXINFO= awk.info
|
|
|
|
CLEANFILES+= ${PROG}.texi
|
|
|
|
${PROG}.texi: gawk.texi
|
|
@-rm -f $@
|
|
sed -e 's/gawk.info/${PROG}.info/g' <$> >$@
|
|
|
|
.include <bsd.info.mk>
|
|
.include <bsd.prog.mk>
|