build: install a login manager session entry

This makes it possible to run Weston session from GDM (and possibly
other login managers).
dev
Lubomir Rintel 10 years ago committed by Bryce Harrington
parent 1a873aa9a0
commit 4f4b47ad20
  1. 5
      Makefile.am
  2. 5
      src/weston.desktop

@ -156,6 +156,11 @@ endif # BUILD_WESTON_LAUNCH
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = src/weston.pc
EXTRA_DIST += $(wayland_session_DATA)
wayland_sessiondir = $(datadir)/wayland-sessions
wayland_session_DATA = src/weston.desktop
westonincludedir = $(includedir)/weston
westoninclude_HEADERS = \
src/version.h \

@ -0,0 +1,5 @@
[Desktop Entry]
Name=Weston
Comment=The reference Wayland server
Exec=dbus-launch --exit-with-session weston
Type=Application
Loading…
Cancel
Save