dbus: build: follow standard semantics for DESTDIR and PREFIX

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
This commit is contained in:
Marcus Folkesson 2018-02-14 10:57:16 +01:00 committed by Nicolas Iooss
parent 45530b8e3a
commit a44b3735df

View File

@ -1,3 +1,5 @@
PREFIX ?= /usr
all:
clean:
@ -5,12 +7,12 @@ clean:
install:
-mkdir -p $(DESTDIR)/etc/dbus-1/system.d/
install -m 644 org.selinux.conf $(DESTDIR)/etc/dbus-1/system.d/
-mkdir -p $(DESTDIR)/usr/share/dbus-1/system-services
install -m 644 org.selinux.service $(DESTDIR)/usr/share/dbus-1/system-services
-mkdir -p $(DESTDIR)/usr/share/polkit-1/actions/
install -m 644 org.selinux.policy $(DESTDIR)/usr/share/polkit-1/actions/
-mkdir -p $(DESTDIR)/usr/share/system-config-selinux
install -m 755 selinux_server.py $(DESTDIR)/usr/share/system-config-selinux
-mkdir -p $(DESTDIR)$(PREFIX)/share/dbus-1/system-services
install -m 644 org.selinux.service $(DESTDIR)$(PREFIX)/share/dbus-1/system-services
-mkdir -p $(DESTDIR)$(PREFIX)/share/polkit-1/actions/
install -m 644 org.selinux.policy $(DESTDIR)$(PREFIX)/share/polkit-1/actions/
-mkdir -p $(DESTDIR)$(PREFIX)/share/system-config-selinux
install -m 755 selinux_server.py $(DESTDIR)$(PREFIX)/share/system-config-selinux
relabel: