summaryrefslogtreecommitdiff
path: root/usr.bin/lex/Makefile
diff options
context:
space:
mode:
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