diff --git a/clash/Makefile b/clash/Makefile index e76c267..0b22c9a 100644 --- a/clash/Makefile +++ b/clash/Makefile @@ -42,8 +42,8 @@ $(DEPLOY_OUTPUT): $(SRCS) deploy-install: deploy-build clash.1 mkdir -p "$(PREFIX)/lib/clash/" - cp $(DEPLOY_OUTPUT) "$(PREFIX)/bin/clash/" - ln -sf "$(PREFIX)/lib/clash/clash" "$(PREFIX)/bin/clash" + cp $(DEPLOY_OUTPUT) "$(PREFIX)/lib/clash/" + ln -sf "/$(PREFIX)/lib/clash/clash" "$(PREFIX)/bin/clash" mkdir -p "$(PREFIX)/share/man/man1/" cp clash.1 "$(PREFIX)/share/man/man1/"