
ADD_SUBDIRECTORY(icons)

INSTALL( FILES org.kde.ring-kde.desktop     DESTINATION  ${XDG_APPS_INSTALL_DIR}           )
INSTALL( FILES ring-kdeui.rc        DESTINATION  ${KXMLGUI_INSTALL_DIR}/ring-kde   )
INSTALL( FILES ring-kde.notifyrc    DESTINATION  ${KNOTIFYRC_INSTALL_DIR}          )
INSTALL( FILES org.kde.ring-kde.desktop     DESTINATION  ${DATA_INSTALL_DIR}/ring-kde      )
INSTALL( FILES cx.ring.ring-kde.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR}     )
install( FILES org.kde.ring-kde.appdata.xml DESTINATION  ${CMAKE_INSTALL_METAINFODIR} )

INSTALL(
   FILES
      ring
   DESTINATION
      ${BIN_INSTALL_DIR}
   PERMISSIONS
      WORLD_READ
      OWNER_WRITE
      OWNER_READ
      GROUP_READ
      OWNER_EXECUTE
      GROUP_EXECUTE
      WORLD_EXECUTE
)
