diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-09-10 13:23:46 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-09-10 13:23:46 +0000 |
| commit | 78c10f4a0daadb217541e0d36fdef43ec6ac06bc (patch) | |
| tree | 66bd3065e206e07acfd5f01a5634965a5d4216a1 /gnu/usr.bin/bison/data | |
| parent | ca1e085bd09d5c99c98fdd641ec2dca2b72fa879 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/bison/data')
| -rw-r--r-- | gnu/usr.bin/bison/data/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/usr.bin/bison/data/Makefile b/gnu/usr.bin/bison/data/Makefile new file mode 100644 index 000000000000..bbe22d42c5a8 --- /dev/null +++ b/gnu/usr.bin/bison/data/Makefile @@ -0,0 +1,21 @@ +# $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> |
