All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dale Amon <amon@vnl.com>
To: selinux@tycho.nsa.gov
Subject: Selecting build target root path
Date: Mon, 10 Dec 2001 15:05:38 +0000	[thread overview]
Message-ID: <20011210150538.GD22266@vnl.com> (raw)

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.

                 reply	other threads:[~2001-12-10 14:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011210150538.GD22266@vnl.com \
    --to=amon@vnl.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.