X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=projects.pro;h=d586d520c63b23a9b750ec92c4a30b0903b06596;hb=d70b3456267dc34c228ec579e80678d64110844c;hp=a0220fa41831c70e404b14bdba153266e662c158;hpb=7afa8fffec585cb639d53f4025b5dec8d47868d5;p=profile%2Fivi%2Fhfdialer.git diff --git a/projects.pro b/projects.pro index a0220fa..d586d52 100644 --- a/projects.pro +++ b/projects.pro @@ -1,22 +1,11 @@ -include (common.pri) +VERSION = 0.2.5 +CONFIG += link_pkgconfig network opengl + TEMPLATE = subdirs CONFIG += ordered SUBDIRS = src qml dialerassets sounds -#OTHER_FILES += dialer.service OTHER_FILES += *.service *.desktop *.sh -M_INSTALL_BIN = /usr/bin -M_INSATLL_DATA = /usr/share -# Keepalive script -keepalive_script.files = dialer-keepalive.sh -keepalive_script.path += $$INSTALL_ROOT/usr/bin -keepalive_script.CONFIG += no_check_exist - -# XDG Autostart -#autostart_entry.files = dialer.desktop -autostart_entry.files = dialer-prestart.desktop -autostart_entry.path += /etc/xdg/autostart -autostart_entry.CONFIG += no_check_exist # Desktop desktop_entry.files = dialer.desktop @@ -25,16 +14,21 @@ desktop_entry.CONFIG += no_check_exist # DBus service dbus_service.files = dialer.service -dbus_service.path += $$INSTALL_ROOT/usr/share$$M_DBUS_SERVICES_DIR +dbus_service.path += $$INSTALL_ROOT/usr/share/dbus-1/services # Documentation documentation.files = AUTHORS ChangeLog LICENSE README TODO documentation.path = $$INSTALL_ROOT/usr/share/hfdialer/ INSTALLS += \ - keepalive_script \ - autostart_entry \ desktop_entry \ dbus_service \ documentation \ +PROJECT_NAME = hfdialer + +dist.commands += rm -fR $${PROJECT_NAME}-$${VERSION} && +dist.commands += git clone . $${PROJECT_NAME}-$${VERSION} && +dist.commands += rm -fR $${PROJECT_NAME}-$${VERSION}/.git && +dist.commands += tar jcpvf $${PROJECT_NAME}-$${VERSION}.tar.bz2 $${PROJECT_NAME}-$${VERSION} +QMAKE_EXTRA_TARGETS += dist