pull/4891/merge
donmor 2025-07-29 11:06:43 +03:30 committed by GitHub
commit a04c327a57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,7 @@
export PATH := $(PATH):`go env GOPATH`/bin
export GO111MODULE=on
LDFLAGS := -s -w
prefix ?= /usr/local
all: env fmt build
@ -69,3 +70,11 @@ clean:
rm -f ./bin/frpc
rm -f ./bin/frps
rm -rf ./lastversion
install:
install -Dm755 bin/frps ${DESTDIR}${prefix}/bin/frps
install -Dm755 bin/frpc ${DESTDIR}${prefix}/bin/frpc
install -Dm644 -b conf/frps.toml ${DESTDIR}/etc/frp/frps.toml
install -Dm644 -b conf/frpc.toml ${DESTDIR}/etc/frp/frpc.toml
install -Dm644 conf/frps_full_example.toml ${DESTDIR}/etc/frp/frps_full_example.toml
install -Dm644 conf/frpc_full_example.toml ${DESTDIR}/etc/frp/frpc_full_example.toml