From 988329ee87ddca0b4cc7c8f5ddcbf40434dcd87d Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 12 Aug 2022 18:45:47 -0500 Subject: [PATCH] feat: make makefile variables recursively defined --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0796c25..47dab11 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -SRC = $(shell find logo/ -type f) -CONDA = source $$(conda info --base)/etc/profile.d/conda.sh; conda activate; -SVGS = $(shell find -type f -wholename "./docs/*.svg") -PNGS = $(patsubst ./docs/svg/%.svg,./docs/png/%.png, $(SVGS)) +SRC := $(shell find logo/ -type f) +CONDA := source $$(conda info --base)/etc/profile.d/conda.sh; conda activate; +SVGS := $(shell find -type f -wholename "./docs/*.svg") +PNGS := $(patsubst ./docs/svg/%.svg,./docs/png/%.png, $(SVGS)) REV := $(shell date +'%Y.%m.%d-' )$(shell git describe --always --dirty | sed s'/dirty/dev/')