[hackers] [9base] Install yaccpar and yaccpars || sin
commit 9108d8bdacd655aed0b6a9a79a035dd24a99ff24
Author: sin <sin_AT_2f30.org>
Date: Wed Oct 8 00:24:23 2014 +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.
diff --git a/yacc/Makefile b/yacc/Makefile
index 3e9d573..ce9a420 100644
--- a/yacc/Makefile
+++ b/yacc/Makefile
_AT_@ -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:
+ _AT_mkdir -p ${DESTDIR}${PREFIX}/yacc
+ _AT_cp yaccpar ${DESTDIR}${PREFIX}/yacc/
+ _AT_cp yaccpars ${DESTDIR}${PREFIX}/yacc/
Received on Wed Oct 08 2014 - 01:26:04 CEST
This archive was generated by hypermail 2.3.0
: Wed Oct 08 2014 - 01:36:13 CEST