platform_external_selinux/policycoreutils
Stephen Smalley 7b5699bfd7 Fix BINDIR/SBINDIR/... variables in Makefiles
As reported by Nicolas Iooss, there are still some inconsistencies
in the definitions and usage of Makefile variables related to bin
and sbin directories. Since we need to still support non-usrmerge
systems, we cannot completely synchronize them, but we can eliminate
unnecessary differences, remove unused variables, and drop the
USRSBINDIR variables.

Before:
$ find . -name Makefile -exec cat {} + |grep '^[A-Z_]*BINDIR' |sort -u
BINDIR=$(PREFIX)/bin
BINDIR ?= $(PREFIX)/bin
BINDIR ?= $(PREFIX)/sbin
SBINDIR ?= $(DESTDIR)/sbin
SBINDIR ?= $(PREFIX)/sbin
USRSBINDIR ?= $(PREFIX)/sbin

After:
$ find . -name Makefile -exec cat {} + | grep '^[A-Z_]*BINDIR' | sort -u
BINDIR ?= $(PREFIX)/bin
SBINDIR ?= $(DESTDIR)/sbin
SBINDIR ?= $(PREFIX)/sbin

This does not change the actual install location of any file.
It does drop the legacy symlink from /usr/sbin/load_policy to
/sbin/load_policy; packagers can create that separately if
desired.

Reported-by: Nicolas Iooss <nicolas.iooss@m4x.org>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2017-06-20 12:18:26 -04:00
..
.tx Update Translations 2013-10-24 13:58:39 -04:00
hll Fix BINDIR/SBINDIR/... variables in Makefiles 2017-06-20 12:18:26 -04:00
load_policy Fix BINDIR/SBINDIR/... variables in Makefiles 2017-06-20 12:18:26 -04:00
man Merge branch 'fedora' into master-merge 2013-10-24 15:24:17 -04:00
newrole Makefiles: override *FLAGS and *LIBS 2017-06-20 12:15:04 -04:00
po policycoreutils: honour LINGUAS variable 2017-04-25 08:12:18 -04:00
run_init Makefiles: override *FLAGS and *LIBS 2017-06-20 12:15:04 -04:00
scripts Fix BINDIR/SBINDIR/... variables in Makefiles 2017-06-20 12:18:26 -04:00
secon Makefiles: override *FLAGS and *LIBS 2017-06-20 12:15:04 -04:00
semodule Makefiles: override *FLAGS and *LIBS 2017-06-20 12:15:04 -04:00
sestatus Makefiles: override *FLAGS and *LIBS 2017-06-20 12:15:04 -04:00
setfiles Makefiles: override *FLAGS and *LIBS 2017-06-20 12:15:04 -04:00
setsebool Makefiles: override *FLAGS and *LIBS 2017-06-20 12:15:04 -04:00
.gitignore Move policycoreutils/semodule_package to semodule-utils. 2016-11-16 11:19:51 -05:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile Move policycoreutils/semodule_package to semodule-utils. 2016-11-16 11:19:51 -05:00
VERSION Update VERSION files for 2.7-rc2 release. 2017-06-16 12:50:03 -04:00