2012-04-24 15:18:12 +00:00
|
|
|
# Installation directories.
|
|
|
|
PREFIX ?= ${DESTDIR}/usr
|
2013-10-09 18:17:07 +00:00
|
|
|
SYSCONFDIR ?= ${DESTDIR}/etc
|
2012-04-24 15:18:12 +00:00
|
|
|
BINDIR ?= $(PREFIX)/bin
|
|
|
|
SHAREDIR ?= $(PREFIX)/share/system-config-selinux
|
2013-10-09 18:17:07 +00:00
|
|
|
DATADIR ?= $(PREFIX)/share
|
|
|
|
MANDIR ?= $(PREFIX)/share/man
|
2012-04-24 15:18:12 +00:00
|
|
|
|
|
|
|
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 \
|
|
|
|
usersPage.py
|
|
|
|
|
2012-05-18 15:40:11 +00:00
|
|
|
all: $(TARGETS) system-config-selinux.py polgengui.py
|
2012-04-24 15:18:12 +00:00
|
|
|
|
|
|
|
install: all
|
2012-05-18 15:40:11 +00:00
|
|
|
-mkdir -p $(SHAREDIR)
|
2012-04-24 15:18:12 +00:00
|
|
|
-mkdir -p $(BINDIR)
|
|
|
|
install -m 755 system-config-selinux.py $(SHAREDIR)
|
|
|
|
install -m 755 polgengui.py $(SHAREDIR)
|
2012-05-18 15:40:11 +00:00
|
|
|
install -m 755 sepolgen $(BINDIR)
|
2012-04-24 15:18:12 +00:00
|
|
|
install -m 644 $(TARGETS) $(SHAREDIR)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
indent:
|
|
|
|
|
|
|
|
relabel:
|