small fix
This commit is contained in:
parent
914d9d0b54
commit
ec3e950d9e
7
makefile
7
makefile
@ -1,4 +1,4 @@
|
||||
.PHONY: build
|
||||
.PHONY: all build install
|
||||
|
||||
all: build
|
||||
|
||||
@ -6,3 +6,8 @@ build: build/files-server
|
||||
|
||||
build/files-server: cmd/file-server/main.go internal/handler/*.go
|
||||
go build -o build/files-server cmd/file-server/main.go
|
||||
|
||||
install: build
|
||||
mkdir -p /usr/share/file-server/static
|
||||
install -m755 -t /usr/share/file-server build/files-server
|
||||
install -m755 -t /usr/share/file-server/static static/main.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user