Install yaccpar and yaccpars - 9base - revived minimalist port of Plan 9 userland to Unix
HTML git clone git://git.suckless.org/9base
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 9108d8bdacd655aed0b6a9a79a035dd24a99ff24
DIR parent 27d866c6ab4a2349a23cb21dada9a1136f76bfc0
HTML Author: sin <sin@2f30.org>
Date: Wed, 8 Oct 2014 00:24:23 +0100
Install yaccpar and yaccpars
fatal error:cannot open parser /usr/local/plan9/yacc/yaccpar: No such
file or directory, /home/egates/projects/hoc/hoc1/hoc.y:27
Issue reported by Evan Gates.
Diffstat:
M yacc/Makefile | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
DIR diff --git a/yacc/Makefile b/yacc/Makefile
@@ -6,5 +6,10 @@ TARG = yacc
include ../std.mk
pre-uninstall:
+ rm -f ${DESTDIRK}${PREFIX}/yacc/yaccpar
+ rm -f ${DESTDIRK}${PREFIX}/yacc/yaccpars
post-install:
+ @mkdir -p ${DESTDIR}${PREFIX}/yacc
+ @cp yaccpar ${DESTDIR}${PREFIX}/yacc/
+ @cp yaccpars ${DESTDIR}${PREFIX}/yacc/