freebsd-nq/gnu/usr.bin/bison/data/Makefile
1996-09-10 13:23:46 +00:00

22 lines
494 B
Makefile

# $Id$
BISONDIR=${.CURDIR}/../../../../contrib/bison
.PATH: ${BISONDIR}
DATADIR= ${SHAREDIR}/misc
CLEANFILES+= bison.s1
all: bison.s1
# Copy bison.simple, inserting directory name into the #line commands.
bison.s1: bison.simple
sed -e "/^#line/ s|bison|${DATADIR}/bison|" \
< ${BISONDIR}/bison.simple > bison.s1
install:
${INSTALL} -c -o bin -g bin -m 444 bison.s1 ${DATADIR}/bison.simple
${INSTALL} -c -o bin -g bin -m 444 ${BISONDIR}/bison.hairy ${DATADIR}
.include <bsd.prog.mk>