freebsd-dev/gnu/usr.bin/bison/data/Makefile

24 lines
598 B
Makefile
Raw Normal View History

# $Id: Makefile,v 1.5 1997/02/22 15:44:44 peter Exp $
1996-09-10 13:23:46 +00:00
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} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 bison.s1 \
${DESTDIR}${DATADIR}/bison.simple
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BISONDIR}/bison.hairy \
${DESTDIR}${DATADIR}
1996-09-10 13:23:46 +00:00
.include <bsd.prog.mk>