summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-03-14 16:07:42 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-03-14 16:09:32 +0100
commite598068b7b99002121d1646a913bebedf8df1ee3 (patch)
tree90a49454247249b23ac53a46d78e3e2e0cf7253f
parentf62a18342eaee27bb6034418ec3247e9a3da3b4a (diff)
downloadmemory-leaks-e598068b7b99002121d1646a913bebedf8df1ee3.tar.xz
Establish a convention for makefile variables
"Uppercase = public API, lowercase = internal plumbing".
-rw-r--r--repo/www/Makefile4
1 files 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))