aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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