small fix
This commit is contained in:
		
							
								
								
									
										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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user