summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-21 21:43:03 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-21 21:43:03 +0300
commit62f1dfce5eb0e47b37d0135997153556841414b6 (patch)
treee5a3bbd825245ad2ebb0ca07e10127303486ee7b
parent930eabcbf1f986d676b04a2acdc9884f30fd5e4b (diff)
downloadbenzin-62f1dfce5eb0e47b37d0135997153556841414b6.tar.gz
fix: recursively add .md files to sources
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 22ce39a..4fbba70 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ OPENRING_FOOTER=tmp/openring.html
OPENRING_URLS=src/urls
BLOG_SOURCES=$(wildcard src/blog/*.md)
-SOURCES=$(wildcard src/*.md) $(BLOG_SOURCES)
+SOURCES=$(shell find src -type f -name "*.md")
TMP_HTML=$(patsubst src/%.md, tmp/%.content.html, $(SOURCES))
HTML=$(patsubst src/%.md, out/%.html, $(SOURCES))