mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-30 18:12:10 +00:00
953d4b6683
Basically add an icon, setup the desktop environment, setup system-config-selinux to run via pkexec.
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# Installation directories.
|
|
PREFIX ?= ${DESTDIR}/usr
|
|
SYSCONFDIR ?= ${DESTDIR}/etc
|
|
BINDIR ?= $(PREFIX)/bin
|
|
SHAREDIR ?= $(PREFIX)/share/system-config-selinux
|
|
DATADIR ?= $(PREFIX)/share
|
|
MANDIR ?= $(PREFIX)/share/man
|
|
|
|
TARGETS= \
|
|
booleansPage.py \
|
|
domainsPage.py \
|
|
fcontextPage.py \
|
|
html_util.py \
|
|
loginsPage.py \
|
|
mappingsPage.py \
|
|
modulesPage.py \
|
|
polgen.glade \
|
|
portsPage.py \
|
|
semanagePage.py \
|
|
statusPage.py \
|
|
system-config-selinux.glade \
|
|
system-config-selinux.png \
|
|
usersPage.py
|
|
|
|
all: $(TARGETS) system-config-selinux.py polgengui.py
|
|
|
|
install: all
|
|
-mkdir -p $(MANDIR)/man8
|
|
-mkdir -p $(SHAREDIR)
|
|
-mkdir -p $(BINDIR)
|
|
-mkdir -p $(DATADIR)/pixmaps
|
|
-mkdir -p $(DATADIR)/icons/hicolor/24x24/apps
|
|
-mkdir -p $(SYSCONFDIR)
|
|
-mkdir -p $(DATADIR)/polkit-1/actions/
|
|
install -m 755 system-config-selinux.py $(SHAREDIR)
|
|
install -m 755 system-config-selinux $(BINDIR)
|
|
install -m 755 polgengui.py $(SHAREDIR)
|
|
install -m 644 $(TARGETS) $(SHAREDIR)
|
|
install -m 644 system-config-selinux.8 $(MANDIR)/man8
|
|
install -m 644 selinux-polgengui.8 $(MANDIR)/man8
|
|
install -m 644 system-config-selinux.png $(DATADIR)/pixmaps
|
|
install -m 644 system-config-selinux.png $(DATADIR)/icons/hicolor/24x24/apps
|
|
install -m 644 system-config-selinux.png $(DATADIR)/system-config-selinux
|
|
install -m 644 *.desktop $(DATADIR)/system-config-selinux
|
|
install -m 644 org.selinux.config.policy $(DATADIR)/polkit-1/actions/
|
|
clean:
|
|
|
|
indent:
|
|
|
|
relabel:
|