From 3259be54400c65291b31bf42322d6e38721c9dbb Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 21 Aug 2012 21:47:41 -0500 Subject: Creating the session configuration file --- .bzrignore | 1 + Makefile.am | 20 ++++++++++++++++++-- uccsconfigure.desktop.in | 8 ++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .bzrignore create mode 100644 uccsconfigure.desktop.in 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 -- cgit v1.2.3