Don't be lazy and let one directory's Makefile install an include

file from another directory, as that only causes problems with
mtree later on when encountering the /.. path component.  Instead,
descend into dev/ and use the Makefile there to install dev/crmfbreg.h
in the appropriate directory.
This commit is contained in:
he 2008-11-25 09:47:40 +00:00
parent 1d28e9aeb0
commit 0f2d00e5bc
3 changed files with 10 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2008/10/25 22:27:38 apb Exp $
# $NetBSD: Makefile,v 1.7 2008/11/25 09:47:40 he Exp $
# Makefile for sgimips tags file
@ -37,6 +37,6 @@ links:
cd $$i && rm -f tags; ln -s ../tags tags; done
SUBDIR= compile include stand
SUBDIR= compile include dev stand
.include <bsd.subdir.mk>

View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.1 2008/11/25 09:47:40 he Exp $
INCSDIR=/usr/include/dev
INCS= crmfbreg.h
.include <bsd.kinc.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2008/11/06 22:15:39 macallan Exp $
# $NetBSD: Makefile,v 1.19 2008/11/25 09:47:40 he Exp $
INCSDIR= /usr/include/sgimips
@ -22,6 +22,5 @@ INCS= asm.h ansi.h aout_machdep.h autoconf.h \
varargs.h vmparam.h \
wchar_limits.h \
z8530var.h \
../dev/crmfbreg.h
.include <bsd.kinc.mk>