2b62754b85
Description: 修改打包方式变为cmake打包 Log: 修改打包方式变为cmake打包 Change-Id: I17ea901b63c290f2ebe406f36737f165c419eff2
15 lines
444 B
Makefile
Executable File
15 lines
444 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
include /usr/share/dpkg/default.mk
|
|
export QT_SELECT=5
|
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DAPP_VERSION=$(DEB_VERSION_UPSTREAM) -DVERSION=$(DEB_VERSION_UPSTREAM) LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) DH_AUTO_ARGS = --parallel --buildsystem=cmake
|
|
|