-
Notifications
You must be signed in to change notification settings - Fork 3
/
contactsd.pro
38 lines (27 loc) · 924 Bytes
/
contactsd.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
TEMPLATE = subdirs
SUBDIRS += lib src plugins tests translations
src.depends = lib
plugins.depends = src
tests.depends = src
PACKAGENAME=contactsd
PKGCONFIG_FILE=$${PACKAGENAME}-1.0.pc
pkgconfig.path=$$LIBDIR/pkgconfig
pkgconfig.files=$${PKGCONFIG_FILE}
backupconf.path=$$PREFIX/share/backup-framework/applications/
backupconf.files=$${PACKAGENAME}.conf
systemdservice.path=/usr/lib/systemd/user/
systemdservice.files=$${PACKAGENAME}.service
INSTALLS += pkgconfig backupconf systemdservice
check.target = check
check.CONFIG = recursive
QMAKE_EXTRA_TARGETS += check
confclean.depends += distclean
confclean.commands += \
$(DEL_FILE) $$TOP_BUILDDIR/.qmake.cache \
$(DEL_FILE) $$TOP_BUILDDIR/$${PKGCONFIG_FILE}
QMAKE_EXTRA_TARGETS += confclean
OTHER_FILES += \
configure \
rpm/*
# Run configure script when building the project from tools like QtCreator
isEmpty(CONFIGURED):system('$$PWD/configure')