Generate skel.c at build time.
This commit is contained in:
parent
5ab0514321
commit
d5a53b4fe6
@ -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++
|
||||
|
1549
usr.bin/lex/skel.c
1549
usr.bin/lex/skel.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user