summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/yacc/Makefile7
-rw-r--r--usr.bin/yacc/PSD.doc/ss24
2 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/yacc/Makefile b/usr.bin/yacc/Makefile
index ce5f315e10d..a5143739b8a 100644
--- a/usr.bin/yacc/Makefile
+++ b/usr.bin/yacc/Makefile
@@ -1,10 +1,15 @@
-# $OpenBSD: Makefile,v 1.3 1999/04/18 20:41:45 millert Exp $
+# $OpenBSD: Makefile,v 1.4 2004/09/18 21:25:52 otto Exp $
PROG= yacc
SRCS= closure.c error.c lalr.c lr0.c main.c mkpar.c output.c reader.c \
skeleton.c symtab.c verbose.c warshall.c
MAN= yacc.1 yyfix.1
+# This just gets installed verbatim
+.if make(install)
+SUBDIR+= PSD.doc
+.endif
+
beforeinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/yyfix.sh ${DESTDIR}${BINDIR}/yyfix
diff --git a/usr.bin/yacc/PSD.doc/ss2 b/usr.bin/yacc/PSD.doc/ss2
index bc1036c9a3d..b5c3866f76b 100644
--- a/usr.bin/yacc/PSD.doc/ss2
+++ b/usr.bin/yacc/PSD.doc/ss2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ss2,v 1.1 2002/12/03 21:36:35 mickey Exp $
+.\" $OpenBSD: ss2,v 1.2 2004/09/18 21:25:52 otto Exp $
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002.
.\" All rights reserved.
@@ -108,7 +108,7 @@ Yacc permits an action to be written in the middle of a rule as well
as at the end.
This rule is assumed to return a value, accessible
through the usual
-.QT $
+``$''
mechanism by the actions to
the right of it.
In turn, it may access the values