register service on the system bus. This will likely fail because we do
[profile/ivi/hfdialer.git] / projects.pro
1 VERSION = 0.3.0
2 CONFIG += link_pkgconfig network opengl
3
4 TEMPLATE = subdirs
5 CONFIG += ordered 
6 SUBDIRS = src qml dialerassets sounds
7
8 OTHER_FILES += *.service *.desktop *.sh
9
10 # Desktop
11 desktop_entry.files = dialer.desktop
12 desktop_entry.path += $$INSTALL_ROOT/usr/share/applications
13 desktop_entry.CONFIG += no_check_exist
14
15 # DBus service
16 dbus_service.files = dialer.service
17 dbus_service.path += $$INSTALL_ROOT/usr/share/dbus-1/services
18
19 # Documentation
20 documentation.files = AUTHORS ChangeLog LICENSE README TODO
21 documentation.path  = $$INSTALL_ROOT/usr/share/hfdialer/
22
23 INSTALLS += \
24     desktop_entry \
25     dbus_service \
26     documentation \
27
28 PROJECT_NAME = hfdialer
29
30 dist.commands += rm -fR $${PROJECT_NAME}-$${VERSION} &&
31 dist.commands += git clone . $${PROJECT_NAME}-$${VERSION} &&
32 dist.commands += rm -fR $${PROJECT_NAME}-$${VERSION}/.git &&
33 dist.commands += tar jcpvf $${PROJECT_NAME}-$${VERSION}.tar.bz2 $${PROJECT_NAME}-$${VERSION}
34 QMAKE_EXTRA_TARGETS += dist