From e18fd4dae56b86e467c8a44f6c4ac33cefa7b9ab Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 16 Aug 2026 16:13:35 -0700 Subject: [PATCH] Update deploy stuff --- clash/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clash/Makefile b/clash/Makefile index c6e3361..56e6457 100644 --- a/clash/Makefile +++ b/clash/Makefile @@ -40,10 +40,10 @@ $(DEPLOY_OUTPUT): $(SRCS) --eval "(asdf:operate 'deploy:deploy-op :clash)" \ --eval '(uiop:quit)' -deploy-install: deploy-build - mkdir -m 0755 -p $(PREFIX)/bin $(PREFIX)/lib - cp -R bin $(PREFIX)/lib/clash - ln -sf ../lib/clash/clash $(PREFIX)/bin/clash +deploy-install: deploy-build clash.1 + install -Dt "$(PREFIX)/bin" bin/clash + install -m 0644 -Dt "$(PREFIX)/lib/clash" bin/libosicat.so bin/librc.so.1 + install -m 0644 -Dt "$(PREFIX)/share/man/man1/" clash.1 clean: rm -f clash clash.md clash.1