2020-09-06 11:14:29 +00:00
|
|
|
# https://tech.davis-hansson.com/p/make/
|
|
|
|
SHELL := bash
|
|
|
|
.ONESHELL:
|
|
|
|
.SHELLFLAGS := -eu -o pipefail -c
|
|
|
|
.DELETE_ON_ERROR:
|
|
|
|
MAKEFLAGS += --warn-undefined-variables
|
|
|
|
MAKEFLAGS += --no-builtin-rules
|
|
|
|
|
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
OUT_DIR := out
|
2020-10-04 16:50:52 +00:00
|
|
|
OUT_FILES := iterm.itermcolors kitty.conf vim.vim setvtrgb.txt zsh.zsh termux.properties variables.css prismjs-theme.css vscode-colorCustomizations.json xfce4-terminal.theme
|
2020-09-06 11:14:29 +00:00
|
|
|
|
|
|
|
all: $(OUT_DIR) $(addprefix $(OUT_DIR)/,$(OUT_FILES))
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rv out
|
|
|
|
|
|
|
|
out:
|
|
|
|
mkdir -p $@
|
|
|
|
|
2020-09-06 18:28:24 +00:00
|
|
|
$(OUT_DIR)/%: %.py _theme.py
|
2020-10-04 16:27:16 +00:00
|
|
|
python3 ./$< > $@
|
2020-09-06 18:28:24 +00:00
|
|
|
|
|
|
|
$(OUT_DIR)/prismjs-theme.css: prismjs-theme-src.css
|