Bug 791203 - Add file extension to pasted image in Plain Text mode
[evolution.git] / data / CMakeLists.txt
blob7a21421ffa4f201d70fdd77641e390ee905ce94d
1 set(filedeps)
2 set(autostartdir ${SYSCONF_INSTALL_DIR}/xdg/autostart)
3 set(desktopdir ${SHARE_INSTALL_PREFIX}/applications)
4 set(themedir ${privdatadir}/theme)
6 configure_file(org.gnome.Evolution.desktop.in.in
7         org.gnome.Evolution.desktop.in
8         @ONLY
11 intltool_merge(${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution.desktop.in org.gnome.Evolution.desktop --desktop-style --utf8)
13 list(APPEND filedeps ${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution.desktop)
15 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution.desktop
16         DESTINATION ${desktopdir}
19 add_appdata_file(org.gnome.Evolution.appdata.xml.in org.gnome.Evolution.appdata.xml)
21 configure_file(org.gnome.Evolution-alarm-notify.desktop.in.in
22         org.gnome.Evolution-alarm-notify.desktop.in
23         @ONLY
26 intltool_merge(${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution-alarm-notify.desktop.in org.gnome.Evolution-alarm-notify.desktop --desktop-style --utf8)
28 list(APPEND filedeps ${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution-alarm-notify.desktop)
30 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution-alarm-notify.desktop
31         DESTINATION ${autostartdir}
34 install(FILES webview.css
35                 webview-print.css
36         DESTINATION ${themedir}
39 set(SCHEMAS
40         org.gnome.evolution.gschema.xml
41         org.gnome.evolution.addressbook.gschema.xml
42         org.gnome.evolution.calendar.gschema.xml
43         org.gnome.evolution.importer.gschema.xml
44         org.gnome.evolution.mail.gschema.xml
45         org.gnome.evolution.shell.gschema.xml
46         org.gnome.evolution.bogofilter.gschema.xml
47         org.gnome.evolution.spamassassin.gschema.xml
48         org.gnome.evolution.text-highlight.gschema.xml
49         org.gnome.evolution.plugin.attachment-reminder.gschema.xml
50         org.gnome.evolution.plugin.autocontacts.gschema.xml
51         org.gnome.evolution.plugin.email-custom-header.gschema.xml
52         org.gnome.evolution.plugin.external-editor.gschema.xml
53         org.gnome.evolution.plugin.face-picture.gschema.xml
54         org.gnome.evolution.plugin.itip.gschema.xml
55         org.gnome.evolution.plugin.mail-notification.gschema.xml
56         org.gnome.evolution.plugin.prefer-plain.gschema.xml
57         org.gnome.evolution.plugin.publish-calendar.gschema.xml
58         org.gnome.evolution.plugin.templates.gschema.xml
61 set(BUILT_SCHEMAS)
62 foreach(_schema IN LISTS SCHEMAS)
63         intltool_merge(${_schema}.in ${_schema} --no-translations --xml-style --utf8)
64         list(APPEND BUILT_SCHEMAS ${CMAKE_CURRENT_BINARY_DIR}/${_schema})
65 endforeach(_schema)
67 add_custom_command(OUTPUT gschemas.compiled
68         COMMAND ${GLIB_COMPILE_SCHEMAS} .
71 add_custom_target(data-files ALL
72         DEPENDS gschemas.compiled
73                 ${filedeps}
76 add_gsettings_schemas(data-files ${BUILT_SCHEMAS})
78 install(FILES evolution.convert
79         DESTINATION ${SHARE_INSTALL_PREFIX}/GConf/gsettings
82 add_subdirectory(icons)
83 add_subdirectory(images)
84 add_subdirectory(sounds)
85 add_subdirectory(ui)
86 add_subdirectory(views)