selinux-gui does not install anything in /etc. Do not create this
directory when building a package with "make install".

Signed-off-by: Nicolas Iooss <[email protected]>
---
 gui/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gui/Makefile b/gui/Makefile
index d49a7ce048c1..4fc2c1a133be 100644
--- a/gui/Makefile
+++ b/gui/Makefile
@@ -1,6 +1,5 @@
 # Installation directories.
 PREFIX ?= ${DESTDIR}/usr
-SYSCONFDIR ?= ${DESTDIR}/etc
 BINDIR ?= $(PREFIX)/bin
 SHAREDIR ?= $(PREFIX)/share/system-config-selinux
 DATADIR ?= $(PREFIX)/share
@@ -30,7 +29,6 @@ install: all
        -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)
-- 
2.13.1

Reply via email to