build tags at library build time, not at install time.
This commit is contained in:
parent
9d255ec409
commit
da7c7d41dd
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.41 1995/05/02 19:57:15 jtc Exp $
|
||||
# $NetBSD: Makefile,v 1.42 1995/06/07 04:37:54 cgd Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
||||
#
|
||||
# All library objects contain sccsid strings by default; they may be
|
||||
@ -82,13 +82,14 @@ rm-from-libkern:
|
||||
for i in ${KMSRCS}; do rm -f ${LIBKERN}/arch/${MACHINE_ARCH}/$$i; done
|
||||
.endif
|
||||
|
||||
beforeinstall: tags
|
||||
install -c -o bin -g bin -m 444 tags ${DESTDIR}/var/db/libc.tags
|
||||
|
||||
all: tags
|
||||
tags: ${SRCS}
|
||||
ctags ${.ALLSRC:M*.c}
|
||||
egrep "^ENTRY(.*)|^FUNC(.*)|^SYSCALL(.*)" /dev/null ${.ALLSRC:M*.S} | \
|
||||
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> tags; sort -o tags tags
|
||||
|
||||
beforeinstall:
|
||||
install -c -o bin -g bin -m 444 tags ${DESTDIR}/var/db/libc.tags
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user