Use v4 i3 config path/format (?)

This commit is contained in:
Dan Buch 2019-01-03 10:59:01 -05:00
parent eedd2dda08
commit 8968748ea5
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7
2 changed files with 3 additions and 1 deletions

View File

@ -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)