From e598068b7b99002121d1646a913bebedf8df1ee3 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 14 Mar 2020 16:07:42 +0100 Subject: Establish a convention for makefile variables "Uppercase = public API, lowercase = internal plumbing". --- repo/www/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repo/www/Makefile b/repo/www/Makefile index c6d64a3..b30f600 100644 --- a/repo/www/Makefile +++ b/repo/www/Makefile @@ -1,8 +1,8 @@ TOP_DIR = ../.. OUT_DIR = $(TOP_DIR)/public +TEXT_FILES = md org -text_files = md org -text_patterns = $(foreach ext,$(text_files),'$(TOP_DIR)/**.$(ext)') +text_patterns = $(foreach ext,$(TEXT_FILES),'$(TOP_DIR)/**.$(ext)') text_folders = $(sort $(dir $(shell git ls-files $(text_patterns)))) page_folders = $(patsubst $(TOP_DIR)%/,$(OUT_DIR)%,$(text_folders)) -- cgit v1.2.3