freebsd-dev/gnu/usr.bin/bison/data/Makefile
Joerg Wunsch 2b0039e0a4 Added ${DESTDIR} to the install target so bison.{simple,hairy}
will also appear in our releases. ;)

Forgotten by: peter
1996-10-27 21:50:59 +00:00

24 lines
569 B
Makefile

# $Id: Makefile,v 1.1 1996/09/10 13:23:44 peter Exp $
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 \
${DESTDIR}${DATADIR}/bison.simple
${INSTALL} -c -o bin -g bin -m 444 ${BISONDIR}/bison.hairy \
${DESTDIR}${DATADIR}
.include <bsd.prog.mk>