| Date Of Receipt: 15-JUL-1993 17:06:36.97
From: ABYSS::decwet::peterson
To: ABYSS::jtkohl
CC: abyss::buildhelp
Subj: RE: how to mask a file from the backing tree?
make determines the backing trees from the SOURCEDIR environment variable.
resetting its value in your sandbox's shared rc file should short-circuit make's
normal search. Note that this is a global change, so all files or their links
must be in your sandbox directories.
--Kim
==========================================================================
From: ABYSS::jtkohl "John Kohl" 15-JUL-1993 13:38:30.10
To: abyss::buildhelp
CC:
Subj: how to mask a file from the backing tree?
I want to test out a VPATH change to a Makefile, so that a file which
used to be provided in the program directory now comes from elsewhere.
How can I have the Makefile ignore the backing tree copy of the file, so
that the VPATH is activated and the alternate copy from the other
directory is used?
e.g. building ./usr/sbin/ufs_fsck
/usr/sde/osf1/build/agosminor.nightly/src/usr/sbin/ufs_fsck/ufs_tables.c
is the file I want to make "go away", so that a VPATH of:
VPATH = ${MAKETOP}/kernel/ufs
will cause the Makefile to find the new file:
/usr/sde/osf1/build/agosminor.nightly/src/kernel/ufs/ufs_tables.c
By default, the backing tree seems to happen before the VPATH.
Suggestions?
John
|