~unity8-desktop-session-team/indicator-session/indicator-session-using-upstart

« back to all changes in this revision

Viewing changes to data/CMakeLists.txt

  • Committer: Ted Gould
  • Date: 2013-10-29 00:31:50 UTC
  • mto: This revision was merged to the branch mainline in revision 418.
  • Revision ID: ted@gould.cx-20131029003150-0dmgcnqcw6wid8tk
XDG Autostart file

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
 
40
40
##
 
41
##  XDG Autostart Config File
 
42
##
 
43
 
 
44
# where to install
 
45
set (XDG_AUTOSTART_DIR "/etc/xdg/autostart")
 
46
message (STATUS "${XDG_AUTOSTART_DIR} is the XDG Autostart install dir")
 
47
 
 
48
set (XDG_AUTOSTART_NAME "${CMAKE_PROJECT_NAME}.desktop")
 
49
set (XDG_AUTOSTART_FILE "${CMAKE_CURRENT_BINARY_DIR}/${XDG_AUTOSTART_NAME}")
 
50
set (XDG_AUTOSTART_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${XDG_AUTOSTART_NAME}.in")
 
51
 
 
52
# build it
 
53
set (pkglibexecdir "${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}")
 
54
configure_file ("${XDG_AUTOSTART_FILE_IN}" "${XDG_AUTOSTART_FILE}")
 
55
 
 
56
# install it
 
57
install (FILES "${XDG_AUTOSTART_FILE}"
 
58
         DESTINATION "${XDG_AUTOSTART_DIR}")
 
59
 
 
60
 
 
61
##
41
62
##  Unity Indicator File
42
63
##
43
64