1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-29 23:07:46 +00:00
config/i3/i3blocks/Makefile

22 lines
371 B
Makefile
Raw Normal View History

CONFIG=config
CONFIG_OUT=$(HOME)/.config/i3blocks/config
CONFIG_DIR=$(HOME)/.config/i3blocks
BLOCKS := $(wildcard blocks/*)
OUT=$(I3_CONFIG_OUT)
.PHONY: clean_install
clean_install: clean install
clean:
rm -rf $(CONFIG_OUT)
rm -rf $(CONFIG_DIR)
install: $(CONFIG_DIR)
cp $(CONFIG) $(CONFIG_OUT)
cp $(BLOCKS) $(CONFIG_DIR)
$(CONFIG_DIR):
mkdir -p $(CONFIG_DIR)