forked from nemomobile/contactsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contactsd.pro
35 lines (24 loc) · 857 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
TEMPLATE = subdirs
CONFIG += ordered
QT -= gui
SUBDIRS += src plugins tests
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=$$LIBDIR/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
# Run configure script when building the project from tools like QtCreator
isEmpty(CONFIGURED):system('$$PWD/configure')