use ${.CURDIR:H:H} instead of ../.. for default setting of SYSDIR,

because the latter doesn't work with objdirs
This commit is contained in:
lukem 2001-04-18 11:21:24 +00:00
parent 12a0a0a537
commit 63a13d4499

View File

@ -1,4 +1,4 @@
# $NetBSD: Make.tags.inc,v 1.9 2001/04/03 16:56:16 jhawk Exp $
# $NetBSD: Make.tags.inc,v 1.10 2001/04/18 11:21:24 lukem Exp $
#
# from: @(#)Make.tags.inc 8.1 (Berkeley) 6/11/93
@ -14,7 +14,7 @@
# the arch directories. Traditionally, COMM would have been an explicit list.
# This promises to be easier to maintain, considering how often the directory
# structure of the kernel sources has been changing recently.
SYSDIR?= ../..
SYSDIR?= ${.CURDIR:H:H}
COMM!= find -H ${SYSDIR} -name arch -prune -o -name "*.[ch]" -print | \
sed 's@\(.*/\).*\..*@\1*.\[ch\]@' | sort -t / -u
.endif