diff --git a/clash/Makefile b/clash/Makefile index 20166c9..b2c9de5 100644 --- a/clash/Makefile +++ b/clash/Makefile @@ -44,6 +44,7 @@ $(DEPLOY_OUTPUT): $(SRCS) deploy-install: deploy-build clash.1 mkdir -p "$(PREFIX)/lib/clash/" cp $(DEPLOY_OUTPUT) "$(PREFIX)/lib/clash/" + mkdir -p "$(PREFIX)/bin/" ln -sf "$(REAL_PREFIX)/lib/clash/clash" "$(PREFIX)/bin/clash" mkdir -p "$(PREFIX)/share/man/man1/" cp clash.1 "$(PREFIX)/share/man/man1/"