aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-09-14 13:49:42 -0500
committerTed Gould <ted@gould.cx>2012-09-14 13:49:42 -0500
commit62e2b03cb580538f8e1ed5da14f49640a39fda89 (patch)
tree05280b871ae4dab69d3f870cb9429e326245f909
parentc3f0094d4c3eb499116287eab91488848e2164e1 (diff)
downloadlightdm-remote-session-remoteconfigure-62e2b03cb580538f8e1ed5da14f49640a39fda89.tar.gz
lightdm-remote-session-remoteconfigure-62e2b03cb580538f8e1ed5da14f49640a39fda89.tar.bz2
lightdm-remote-session-remoteconfigure-62e2b03cb580538f8e1ed5da14f49640a39fda89.zip
Add build system for the apparmor profile
-rw-r--r--Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index a40362d..e8cec00 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,6 +41,20 @@ EXTRA_DIST += uccsconfigure-session.in
CLEANFILES += uccsconfigure-session
###############################
+# Apparmor for session script
+###############################
+
+apparmordir = $(sysconfdir)/apparmor.d/
+apparmor_DATA = \
+ lightdm-remote-session-uccsconfigure
+
+lightdm-remote-session-uccsconfigure: lightdm-remote-session-uccsconfigure.in
+ @sed -e "s|\@pkgdatadir\@|$(pkgdatadir)|" $< > $@
+
+EXTRA_DIST += lightdm-remote-session-uccsconfigure.in
+CLEANFILES += lightdm-remote-session-uccsconfigure
+
+###############################
# Autostart Firefox
###############################