1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-22 20:13:43 +00:00
config/i3/i3blocks/Makefile
2019-11-25 15:59:24 +01:00

24 lines
421 B
Makefile

include *.mk
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: clean_gsimplecal
rm -rf $(CONFIG_OUT)
rm -rf $(CONFIG_DIR)
install: $(CONFIG_DIR) install_gsimplecal
cp $(CONFIG) $(CONFIG_OUT)
cp $(BLOCKS) $(CONFIG_DIR)
$(CONFIG_DIR):
mkdir -p $(CONFIG_DIR)