mirror of
https://github.com/pgrondek/config.git
synced 2024-12-01 15:53:53 +00:00
24 lines
421 B
Makefile
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)
|