Install yaccpar and yaccpars - 9base - revived minimalist port of Plan 9 userla… | |
git clone git://git.suckless.org/9base | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9108d8bdacd655aed0b6a9a79a035dd24a99ff24 | |
parent 27d866c6ab4a2349a23cb21dada9a1136f76bfc0 | |
Author: sin <[email protected]> | |
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(-) | |
--- | |
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/ |