summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Becker <heirecka@exherbo.org>2019-05-29 21:14:57 +0200
committerAlexander Larsson <alexander.larsson@gmail.com>2019-08-16 12:53:52 +0200
commit1678d0cb9fc1154fe15fce08daba966efe31058a (patch)
tree44b8ccdb3244be8dff420ea42d770dc901a1cbea
parent791f31898b629bad5f6e29392be260fb06fb871d (diff)
downloadflatpak-1678d0cb9fc1154fe15fce08daba966efe31058a.tar.gz
Avoid installing empty dirs with --disable-selinux-module
...by moving everything selinux specific into the scope of the if.
-rw-r--r--selinux/Makefile.am.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/selinux/Makefile.am.inc b/selinux/Makefile.am.inc
index a8a33fd5..5d8af975 100644
--- a/selinux/Makefile.am.inc
+++ b/selinux/Makefile.am.inc
@@ -1,3 +1,4 @@
+if BUILD_SELINUX_MODULE
selinux_moduledir = ${datadir}/selinux/packages
selinux_module_DATA = $(NULL)
@@ -12,7 +13,6 @@ flatpak.pp.bz2: selinux/flatpak.te selinux/flatpak.fc
cp $(TMP)/flatpak.pp.bz2 .
rm -rf $(TMP)
-if BUILD_SELINUX_MODULE
selinux_module_DATA += flatpak.pp.bz2
selinux_devel_DATA += selinux/flatpak.if
endif