From ce1b711f8443477ad4a6cc4d83a7bb9c2628b910 Mon Sep 17 00:00:00 2001 From: Yiyang Kang Date: Sat, 4 Mar 2023 16:52:33 +0800 Subject: [PATCH] build: update makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2d9c2f4..3bcd62f 100644 --- a/Makefile +++ b/Makefile @@ -7,4 +7,8 @@ lint: clean: rm -f httpserve -.PHONY: build clean lint +install: build + test -d "${HOME}" + install -Dm0755 -t "${HOME}/.local/bin/" httpserve + +.PHONY: build clean lint install