1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-29 15:03:05 +00:00
config/i3/i3blocks/Makefile
2019-07-11 23:56:03 +02:00

22 lines
371 B
Makefile

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)