forked from Silverfish/proton-bridge
Adding instructions for building with custom Qt
This commit is contained in:
10
Makefile
10
Makefile
@ -2,7 +2,7 @@ export GO111MODULE=on
|
||||
GOOS:=$(shell go env GOOS)
|
||||
|
||||
## Build
|
||||
.PHONY: build check-has-go
|
||||
.PHONY: build qtdeploy check-has-go
|
||||
|
||||
VERSION?=1.2.6-git
|
||||
REVISION:=$(shell git rev-parse --short=10 HEAD)
|
||||
@ -63,6 +63,14 @@ ${EXE_TARGET}: check-has-go gofiles ${ICO_FILES} update-vendor
|
||||
mv deploy cmd/Desktop-Bridge
|
||||
rm -rf ${GOOS} main.go
|
||||
|
||||
qtdeploy: check-has-go gofiles ${ICO_FILES}
|
||||
go mod vendor
|
||||
rm -rf deploy ${GOOS} ${DEPLOY_DIR}
|
||||
cp cmd/Desktop-Bridge/main.go .
|
||||
qtdeploy ${BUILD_FLAGS} build desktop
|
||||
mv deploy cmd/Desktop-Bridge
|
||||
rm -rf ${GOOS} main.go
|
||||
|
||||
logo.ico: ./internal/frontend/share/icons/logo.ico
|
||||
cp $^ .
|
||||
icon.rc: ./internal/frontend/share/icon.rc
|
||||
|
||||
Reference in New Issue
Block a user