diff options
author | Dmitrij Tejblum <dt@FreeBSD.org> | 1999-11-20 15:41:43 +0000 |
---|---|---|
committer | Dmitrij Tejblum <dt@FreeBSD.org> | 1999-11-20 15:41:43 +0000 |
commit | d5a53b4fe61b9c87bf58dfed9e1542e165ceceea (patch) | |
tree | 05961dcfdda481a0377ff7f92516163d3f49540c /usr.bin/lex/Makefile | |
parent | 5ab05143219089c8a35caa12eab1ca5ed1de46e7 (diff) | |
download | src-d5a53b4fe61b9c87bf58dfed9e1542e165ceceea.tar.gz src-d5a53b4fe61b9c87bf58dfed9e1542e165ceceea.zip |
Generate skel.c at build time.
Notes
Notes:
svn path=/head/; revision=53462
Diffstat (limited to 'usr.bin/lex/Makefile')
-rw-r--r-- | usr.bin/lex/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile index 855da64da498..ec6a61e3252d 100644 --- a/usr.bin/lex/Makefile +++ b/usr.bin/lex/Makefile @@ -23,12 +23,15 @@ MLINKS+= lex.1 flex.1 MLINKS+= lex.1 flex++.1 MLINKS+= lex.1 lex++.1 -CLEANFILES= scan.c +CLEANFILES= scan.c skel.c .if !defined(NOLIB) SUBDIR= lib .endif +skel.c: mkskel.sh flex.skl + sh ${.CURDIR}/mkskel.sh ${.CURDIR}/flex.skl > skel.c + beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/FlexLexer.h ${DESTDIR}/usr/include/g++ |