aboutsummaryrefslogtreecommitdiff
path: root/data/extra-sessions/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'data/extra-sessions/Makefile.am')
-rw-r--r--data/extra-sessions/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/data/extra-sessions/Makefile.am b/data/extra-sessions/Makefile.am
new file mode 100644
index 0000000..ca9ba8e
--- /dev/null
+++ b/data/extra-sessions/Makefile.am
@@ -0,0 +1,33 @@
+
+###################################
+# The files that are actually here
+###################################
+
+extra_guests_desktop_in_in_files = \
+ classic-desktop.desktop.in.in
+extra_guests_sh_files = \
+ classic-desktop.sh
+
+###################################
+# Rules to make things work
+###################################
+
+extra_guestsdir = $(datadir)/indicators/session/applications/
+extra_guests_desktop_files = \
+ $(extra_guests_desktop_in_in_files:.desktop.in.in=.desktop)
+
+@INTLTOOL_DESKTOP_RULE@
+
+%.desktop.in: %.desktop.in.in
+ sed -e "s|\@guestdir\@|$(extra_guestsdir)|" $< > $@
+
+extra_guests_DATA = \
+ $(extra_guests_desktop_files) \
+ $(extra_guests_sh_files)
+
+EXTRA_DIST = \
+ $(extra_guests_desktop_in_in_files) \
+ $(extra_guests_sh_files)
+
+CLEANFILES = \
+ $(extra_guests_desktop_files)