aboutsummaryrefslogtreecommitdiff
path: root/v2/dynamic.mk
diff options
context:
space:
mode:
Diffstat (limited to 'v2/dynamic.mk')
-rw-r--r--v2/dynamic.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/v2/dynamic.mk b/v2/dynamic.mk
index 09edfa7..01b8917 100644
--- a/v2/dynamic.mk
+++ b/v2/dynamic.mk
@@ -11,7 +11,7 @@ include generated.mk
.SUFFIXES:
-.SUFFIXES: .md .html .in
+.SUFFIXES: .md .html .in .entry-content .entry-env
.in:
@@ -24,6 +24,12 @@ include generated.mk
.md.html:
sh src/development/genhtml.sh $< > $@
+.md.entry-content:
+ extract -t content < $? > $@
+
+.md.entry-env:
+ extract -t env < $? > $@
+
pastebins.html = $(pastebins.md:.md=.html)
@@ -49,8 +55,8 @@ collections = pastebins
clean:
for c in $(collections); do \
rm -f \
- src/content/$$c/*.txt \
- src/content/$$c/*.atom; \
+ src/content/$$c/*.entry-* \
+ src/content/$$c/*.txt; \
done
rm -rf \
$(ALL) generated.mk src/development/config.env \