mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-21 13:40:06 +00:00
e15f61e5d2
This patch solves the following issues: - DESTDIR is needed during compile time to compute library and header paths which it should not. - Installing with both DESTDIR and PREFIX set gives us odd paths - Make usage of DESTDIR and PREFIX more standard Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
20 lines
288 B
Makefile
20 lines
288 B
Makefile
# Installation directories.
|
|
PREFIX ?= /usr
|
|
LIBEXECDIR ?= $(PREFIX)/libexec
|
|
SELINUXEXECDIR ?= $(LIBEXECDIR)/selinux/
|
|
|
|
all:
|
|
|
|
install: all
|
|
-mkdir -p $(DESTDIR)$(SELINUXEXECDIR)
|
|
install -m 755 semanage_migrate_store $(DESTDIR)$(SELINUXEXECDIR)
|
|
|
|
clean:
|
|
|
|
distclean: clean
|
|
|
|
indent:
|
|
|
|
relabel:
|
|
|