+3
-2
@@ -1,6 +1,7 @@
|
||||
LISP=sbcl
|
||||
|
||||
PREFIX=~/.local
|
||||
PREFIX=${HOME}/.local
|
||||
REAL_PREFIX=$(PREFIX)
|
||||
|
||||
override SRCS=clash.asd format.lisp parse-date.lisp clash.lisp
|
||||
override LOAD_CLASH=--eval "(ql:quickload '(:cl-ppcre :clingon :local-time :uiop :trivial-features :osicat))" \
|
||||
@@ -43,7 +44,7 @@ $(DEPLOY_OUTPUT): $(SRCS)
|
||||
deploy-install: deploy-build clash.1
|
||||
mkdir -p "$(PREFIX)/lib/clash/"
|
||||
cp $(DEPLOY_OUTPUT) "$(PREFIX)/lib/clash/"
|
||||
ln -sf "/$(PREFIX)/lib/clash/clash" "$(PREFIX)/bin/clash"
|
||||
ln -sf "$(REAL_PREFIX)/lib/clash/clash" "$(PREFIX)/bin/clash"
|
||||
mkdir -p "$(PREFIX)/share/man/man1/"
|
||||
cp clash.1 "$(PREFIX)/share/man/man1/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user