1 Star 1 Fork 6

fnet/Deepin-Clone

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deepin-clone.pro 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
zccrs 提交于 2017-11-08 15:54 +08:00 . fix: not install the help document files
TARGET = deepin-clone
VERSION = 0.0.1
TEMPLATE = app
CONFIG += link_pkgconfig
PKGCONFIG += dtkcore
DEFINES += QT_MESSAGELOGCONTEXT
DEFINES += HOST_ARCH_$$QMAKE_HOST.arch HOST_ARCH=\\\"$$QMAKE_HOST.arch\\\"
isEmpty(DISABLE_GUI) {
include($$PWD/src/widgets/widgets.pri)
} else {
QT -= gui
}
include($$PWD/src/corelib/corelib.pri)
include($$PWD/src/fixboot/fixboot.pri)
SOURCES += src/main.cpp \
src/commandlineparser.cpp
HEADERS += \
src/dglobal.h \
src/commandlineparser.h
INCLUDEPATH += src
target.path = /usr/sbin
mimetype_xml.path = /usr/share/mime/packages
mimetype_xml.files = $$PWD/mimetype/$${TARGET}.xml
mimetype_dim_icon.path = /usr/share/icons/hicolor/scalable/mimetypes
mimetype_dim_icon.files = $$PWD/mimetype/application-x-deepinclone-dim.svg
policy.path = /usr/share/polkit-1/actions
policy.files = com.deepin.pkexec.deepin-clone.policy
ionice.path = $${target.path}
ionice.files = deepin-clone-ionice
pkexec.path = /usr/bin
pkexec.files = deepin-clone-pkexec
dman.path = /usr/share/dman/
dman.files = $$PWD/dman/*
INSTALLS += target mimetype_xml mimetype_dim_icon policy ionice pkexec dman
TRANSLATIONS += $$PWD/translations/$${TARGET}.ts \
$$PWD/translations/$${TARGET}_zh_CN.ts
!system(deepin-policy-ts-convert policy2ts com.deepin.pkexec.deepin-clone.policy.tmp translations): message("Failed policy to ts")
!system(deepin-policy-ts-convert ts2policy com.deepin.pkexec.deepin-clone.policy.tmp translations com.deepin.pkexec.deepin-clone.policy) {
system(cp com.deepin.pkexec.deepin-clone.policy.tmp com.deepin.pkexec.deepin-clone.policy)
}
CONFIG(release, debug|release) {
!system($$PWD/translate_generation.sh): error("Failed to generate translation")
}
translations.path = /usr/share/$${TARGET}/translations
translations.files = translations/*.qm
INSTALLS += translations
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fnet/Deepin-Clone.git
git@gitee.com:fnet/Deepin-Clone.git
fnet
Deepin-Clone
Deepin-Clone
master

搜索帮助