~tardypad/dotfiles

fcc256d1c6bc77c4a5f05271bb1171623d8d6a52 — Damien Tardy-Panis 1 year, 4 days ago 7e28a92
Define local Makefile environment variables in .env file

So that we don't have to remember to set the THEME depending on the
laptop being used
2 files changed, 3 insertions(+), 0 deletions(-)

M .gitignore
M Makefile
M .gitignore => .gitignore +1 -0
@@ 1,1 1,2 @@
build/
\.env

M Makefile => Makefile +2 -0
@@ 8,6 8,8 @@ CACHE_DIR  = $(HOME)/.cache
CONFIG_DIR = $(HOME)/.config
DATA_DIR   = $(HOME)/.local/share

-include .env

setup_file = { setup/substitute-apps | setup/substitute-colors $(THEME) | setup/substitute-dirs | setup/substitute-keys; } < files

include files/configs/aerc/Makefile