Add config to makefile [skip ci]
This commit is contained in:
parent
bd58eed0a0
commit
07e35af5a7
8
Makefile
8
Makefile
@ -3,8 +3,12 @@ GOBUILD ?= go build
|
|||||||
all: main.go logging.go keyExchange.go keyCrypto.go files.go fileCrypto.go deviceDiscovery.go config.go
|
all: main.go logging.go keyExchange.go keyCrypto.go files.go fileCrypto.go deviceDiscovery.go config.go
|
||||||
$(GOBUILD)
|
$(GOBUILD)
|
||||||
|
|
||||||
install: opensend
|
install: opensend opensend.toml
|
||||||
install -Dm755 opensend $(DESTDIR)/usr/bin/opensend
|
install -Dm755 opensend $(DESTDIR)/usr/bin/opensend
|
||||||
|
install -Dm644 opensend.toml $(DESTDIR)/etc/opensend.toml
|
||||||
|
|
||||||
install-macos: opensend
|
install-macos: opensend opensend.toml
|
||||||
|
mkdir -p $(DESTDIR)/usr/local/bin
|
||||||
install -m755 opensend $(DESTDIR)/usr/local/bin/opensend
|
install -m755 opensend $(DESTDIR)/usr/local/bin/opensend
|
||||||
|
mkdir -p $(DESTDIR)/etc
|
||||||
|
install -m644 opensend.toml $(DESTDIR)/etc/opensend.toml
|
Reference in New Issue
Block a user