Makefile: add a userconfig target
make userconfig takes care of creating $XDG_CONFIG_HOME/kak/autoload and populate it with links to files in the rc directory
This commit is contained in:
parent
92c4a9abce
commit
969a1213c4
|
@ -19,4 +19,10 @@ tags:
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o .*.d kak tags
|
rm -f *.o .*.d kak tags
|
||||||
|
|
||||||
.PHONY: tags
|
XDG_CONFIG_HOME ?= $(HOME)/.config
|
||||||
|
|
||||||
|
userconfig:
|
||||||
|
mkdir -p $(XDG_CONFIG_HOME)/kak/autoload
|
||||||
|
ln -rs rc/{asciidoc,cpp,diff,git,grep,kakrc,make}.kak $(XDG_CONFIG_HOME)/kak/autoload/
|
||||||
|
|
||||||
|
.PHONY: tags userconfig
|
||||||
|
|
Loading…
Reference in New Issue
Block a user