[PATCH 50/90] policycoreutils: Add Makefiles to support new gui code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


   This patch looks good to me. acked.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/I+eIACgkQrlYvE4MpobMfcwCeOR7V42iMXwyhtaoWR0tL+Y9E
xjYAnj1YHGuU58ubKT3RzpetIKWDP5Lp
=hyFw
-----END PGP SIGNATURE-----
>From 569e28afb69ef6d71377ff23cc6585c2e2c8e83c Mon Sep 17 00:00:00 2001
From: Dan Walsh <dwalsh@xxxxxxxxxx>
Date: Tue, 24 Apr 2012 11:18:12 -0400
Subject: [PATCH 50/90] policycoreutils: Add Makefiles to support new gui code

We added new gui programs, but not Makefiles to build/install them.

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 policycoreutils/Makefile     |    2 +-
 policycoreutils/gui/Makefile |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 1 deletion(-)
 create mode 100644 policycoreutils/gui/Makefile

diff --git a/policycoreutils/Makefile b/policycoreutils/Makefile
index e31f7d3..9c242d4 100644
--- a/policycoreutils/Makefile
+++ b/policycoreutils/Makefile
@@ -1,4 +1,4 @@
-SUBDIRS = setfiles semanage semanage/default_encoding load_policy newrole run_init sandbox secon audit2allow audit2why scripts sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool po man
+SUBDIRS = setfiles semanage semanage/default_encoding load_policy newrole run_init sandbox secon audit2allow audit2why scripts sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool po man gui
 
 INOTIFYH = $(shell ls /usr/include/sys/inotify.h 2>/dev/null)
 
diff --git a/policycoreutils/gui/Makefile b/policycoreutils/gui/Makefile
new file mode 100644
index 0000000..a5b9c4c
--- /dev/null
+++ b/policycoreutils/gui/Makefile
@@ -0,0 +1,40 @@
+# Installation directories.
+PREFIX ?= ${DESTDIR}/usr
+BINDIR ?= $(PREFIX)/bin
+SHAREDIR ?= $(PREFIX)/share/system-config-selinux
+
+TARGETS= \
+booleansPage.py \
+domainsPage.py \
+fcontextPage.py \
+html_util.py \
+loginsPage.py \
+mappingsPage.py \
+modulesPage.py \
+polgen.glade \
+portsPage.py \
+lockdown.glade \
+semanagePage.py \
+statusPage.py \
+system-config-selinux.glade \
+usersPage.py \
+selinux.tbl
+
+all: $(TARGETS) system-config-selinux.py polgengui.py templates lockdown.py polgen.py
+
+install: all
+	-mkdir -p $(SHAREDIR)/templates
+	-mkdir -p $(BINDIR)
+	install -m 755 system-config-selinux.py $(SHAREDIR)
+	install -m 755 polgengui.py $(SHAREDIR)
+	install -m 755 polgen.py $(SHAREDIR)
+	(cd $(BINDIR); 	ln -fs ../share/system-config-selinux/polgen.py sepolgen)
+	install -m 755 lockdown.py $(SHAREDIR)
+	install -m 644 $(TARGETS) $(SHAREDIR)
+	install -m 644 templates/*.py $(SHAREDIR)/templates/
+
+clean:
+
+indent:
+
+relabel:
-- 
1.7.10.2


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux