aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-08-21 21:47:41 -0500
committerTed Gould <ted@gould.cx>2012-08-21 21:47:41 -0500
commit3259be54400c65291b31bf42322d6e38721c9dbb (patch)
tree23bce0d86e40b4e3fe7a2093ad9fbc87404fe036
parent58e97323dbbbd98cffea4b29003b34d965597203 (diff)
downloadlightdm-remote-session-remoteconfigure-3259be54400c65291b31bf42322d6e38721c9dbb.tar.gz
lightdm-remote-session-remoteconfigure-3259be54400c65291b31bf42322d6e38721c9dbb.tar.bz2
lightdm-remote-session-remoteconfigure-3259be54400c65291b31bf42322d6e38721c9dbb.zip
Creating the session configuration file
-rw-r--r--.bzrignore1
-rw-r--r--Makefile.am20
-rw-r--r--uccsconfigure.desktop.in8
3 files changed, 27 insertions, 2 deletions
diff --git a/.bzrignore b/.bzrignore
new file mode 100644
index 0000000..86bdd7b
--- /dev/null
+++ b/.bzrignore
@@ -0,0 +1 @@
+uccsconfigure.desktop
diff --git a/Makefile.am b/Makefile.am
index 3baade8..9e0e749 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,24 @@
-
EXTRA_DIST =
-
CLEANFILES =
+###############################
+# The session configuration
+###############################
+
+lightdm_sessiondir = $(datadir)/lightdm/remote-sessions
+lightdm_session_DATA = \
+ uccsconfigure.desktop
+
+%.desktop: %.desktop.in
+ @sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
+
+EXTRA_DIST += uccsconfigure.desktop.in
+CLEANFILES += uccsconfigure.desktop
+
+###############################
+# Dist check stuff
+###############################
+
DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall
dist-hook:
diff --git a/uccsconfigure.desktop.in b/uccsconfigure.desktop.in
new file mode 100644
index 0000000..bb34405
--- /dev/null
+++ b/uccsconfigure.desktop.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=UCCS Configure
+Comment=Setup a UCCS Account
+Exec=@pkglibexecdir@/uccsconfigure-session
+TryExec=@pkglibexecdir@/uccsconfigure-session
+Icon=
+Type=Application
+X-LightDM-PAM-Service=lightdm-remote-uccsconfigure