aboutsummaryrefslogtreecommitdiff
path: root/src/rc/Makefile
diff options
context:
space:
mode:
authorJason Zaman <jason@perfinion.com>2014-07-15 22:27:34 +0400
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-07-16 13:09:38 -0500
commit9c689542c3246e793310db938374bc97600435e6 (patch)
tree2a4585902ad54cbc5292016b96a9ac854614524c /src/rc/Makefile
parent525d7140b12a8e259f9d919f24148e369e9ff7d1 (diff)
checkpath: restore the SELinux context
X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
Diffstat (limited to 'src/rc/Makefile')
-rw-r--r--src/rc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index 5f5aa631..fb5265c6 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -4,7 +4,11 @@ SRCS= checkpath.c fstabinfo.c mountinfo.c start-stop-daemon.c \
rc-misc.c rc-plugin.c rc-service.c rc-status.c rc-update.c \
runscript.c rc.c swclock.c
-CLEANFILES= version.h
+ifeq (${MKSELINUX},yes)
+SRCS+= rc-selinux-util.c
+endif
+
+CLEANFILES= version.h rc-selinux-util.o
BINDIR= ${PREFIX}/bin
SBINDIR= ${PREFIX}/sbin