All of lore.kernel.org
 help / color / mirror / Atom feed
* Selecting build target root path
@ 2001-12-10 15:05 Dale Amon
  0 siblings, 0 replies; only message in thread
From: Dale Amon @ 2001-12-10 15:05 UTC (permalink / raw)
  To: selinux

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.

-- 
------------------------------------------------------
    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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-10 14:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-10 15:05 Selecting build target root path Dale Amon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.