summaryrefslogtreecommitdiff
path: root/usr.bin/lex/Makefile
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-12-09 12:42:42 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-12-09 12:42:42 +0000
commit217e39b0c1e4569ade642f6a797ad91c1efa64b1 (patch)
tree7596f551eeb42210ca8bda4871dd51e67d1e75db /usr.bin/lex/Makefile
parent4b73b657f67f867a87377d1415dc921fb49525ce (diff)
install lex PSD;
the actual doc has been updated regarding current implementation of lex. I also replaced the tables with displays, for simplicity and because of formatting errors (unsupported macros); sanity check and ok mickey@
Diffstat (limited to 'usr.bin/lex/Makefile')
-rw-r--r--usr.bin/lex/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile
index c978ea7e519..e01cedb6fb1 100644
--- a/usr.bin/lex/Makefile
+++ b/usr.bin/lex/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2002/05/08 19:39:24 espie Exp $
+# $OpenBSD: Makefile,v 1.9 2003/12/09 12:42:41 jmc Exp $
#
# By default, flex will be configured to generate 8-bit scanners only if the
# -8 flag is given. If you want it to always generate 8-bit scanners, add
@@ -26,6 +26,11 @@ LINKS= ${BINDIR}/lex ${BINDIR}/flex \
${BINDIR}/lex ${BINDIR}/flex++
MLINKS= flex.1 lex.1 flex.1 flex++.1
+# This just gets installed verbatim
+.if make(install)
+SUBDIR+= PSD.doc
+.endif
+
parse.h parse.c: parse.y
${YACC} -d ${.ALLSRC}
mv y.tab.c parse.c