~ubuntu-branches/ubuntu/trusty/libusermetrics/trusty-proposed

« back to all changes in this revision

Viewing changes to data/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Pete Woods, Ubuntu daily release
  • Date: 2013-07-02 02:02:52 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130702020252-53yuhnlabsq1cq8x
Tags: 1.0.1+13.10.20130702-0ubuntu1
[ Pete Woods ]
* Implement most of storage service and wire up input API.
* Wire up the output API to the storage service.

[ Ubuntu daily release ]
* Automatic snapshot from revision 80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###########################
 
2
# Policy
 
3
###########################
 
4
 
 
5
set(
 
6
        DBUSCONFDIR
 
7
        /etc/dbus-1/system.d
 
8
)
 
9
 
 
10
install(
 
11
        FILES
 
12
        "com.canonical.UserMetrics.conf"
 
13
        DESTINATION ${DBUSCONFDIR}
 
14
)
 
15
 
 
16
###########################
 
17
# Dbus Interfaces
 
18
###########################
 
19
 
 
20
set(
 
21
        DBUSIFACEDIR
 
22
        "${CMAKE_INSTALL_DATADIR}/dbus-1/interfaces/"
 
23
)
 
24
 
 
25
install(
 
26
        FILES
 
27
        com.canonical.usermetrics.DataSet.xml
 
28
        com.canonical.usermetrics.DataSource.xml
 
29
        com.canonical.usermetrics.UserData.xml
 
30
        com.canonical.UserMetrics.xml
 
31
        DESTINATION ${DBUSIFACEDIR}
 
32
)
 
33
 
 
34
###########################
 
35
# Dbus Services
 
36
###########################
 
37
 
 
38
set(
 
39
        DBUSSERVICEDIR
 
40
        "${CMAKE_INSTALL_DATADIR}/dbus-1/system-services/"
 
41
)
 
42
 
 
43
set(USERMETRICS_SERVICE
 
44
        "${CMAKE_CURRENT_BINARY_DIR}/com.canonical.UserMetrics.service"
 
45
)
 
46
 
 
47
configure_file(
 
48
        "com.canonical.UserMetrics.service.in"
 
49
        ${USERMETRICS_SERVICE}
 
50
        @ONLY
 
51
)
 
52
 
 
53
install(
 
54
        FILES
 
55
        ${USERMETRICS_SERVICE}
 
56
        DESTINATION ${DBUSSERVICEDIR}
 
57
)