Use v4 i3 config path/format (?)
This commit is contained in:
parent
eedd2dda08
commit
8968748ea5
4
Makefile
4
Makefile
@ -2,7 +2,8 @@ TOP_SOURCES := $(shell git ls-files | grep -vE 'README|Makefile|^config|^\.git|^
|
||||
CONFIG_SOURCES := $(shell git ls-files config)
|
||||
TARGETS := \
|
||||
$(patsubst %,$(HOME)/.%,$(TOP_SOURCES)) \
|
||||
$(patsubst %,$(HOME)/.%,$(CONFIG_SOURCES))
|
||||
$(patsubst %,$(HOME)/.%,$(CONFIG_SOURCES)) \
|
||||
$(HOME)/.config/i3/config
|
||||
|
||||
$(HOME)/.%: %
|
||||
$(RM) '$@' && mkdir -p $(dir $@) && ln -svf '$(PWD)/$^' '$@'
|
||||
@ -16,4 +17,5 @@ $(HOME)/.config:
|
||||
.PHONY: echo
|
||||
echo:
|
||||
@echo TOP_SOURCES=$(TOP_SOURCES)
|
||||
@echo CONFIG_SOURCES=$(CONFIG_SOURCES)
|
||||
@echo TARGETS=$(TARGETS)
|
||||
|
Loading…
Reference in New Issue
Block a user