Selecting build target root path
The discussion came up earlier wrt Debian dist paths. I'd like to generalize the discussion and suggest that all the selinux Makefiles have as their default
ROOT=/usr/local LSMDIR=../../lsm MODDIR=../../selinux/module FLASKDIR=$ROOT/selinux/flask INCDIR=$ROOT/selinux/include BINDIR=$ROOT/selinux/bin
This actually a very common way of doing things so that you can do things like:
* build for a target machine:
make ROOT=/usr/src/MyTargetRoot install
* build for a local host or a tgz install:
make install
* build it for a debian package:
make ROOT=/usr install
* build it for a chrooted test
make ROOT=/testroot install
I find a need for all of these procedures at one time or another, and I notice it in particular now because I'm building an selinux that I'm not going to install on the machine doing the building... so I'll have to modify the Makefile to do the above.
Signature · 10 lines
------------------------------------------------------
Nuke bin Laden: Dale Amon, CEO/MD
improve the global Islandone Society
gene pool. www.islandone.org
------------------------------------------------------
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.